Documentation Home
>
Sun WorkShop Compiler C 5.0 User's Guide
>
Appendix B Implementation-Defined Behavior
>
Implementation Compared to the ANSI/ISO StandardT
>
Floating-Point(G.3.6)
> (6.2.1.3)The direction of truncation when an integral number is converted to a floating-point number that cannot exactly represent the original value:
Sun WorkShop Compiler C 5.0 User's Guide
Previous
: (6.1.2.5)The representations and sets of values of the various types of floating-point numbers:
Next
: (6.2.1.4)The direction of truncation or rounding when a floating- point number is converted to a narrower floating-point number:
(6.2.1.3)The direction of truncation when an integral number is converted to a floating-point number that cannot exactly represent the original value:
Numbers are rounded to the nearest value that can be represented.
Previous
: (6.1.2.5)The representations and sets of values of the various types of floating-point numbers:
Next
: (6.2.1.4)The direction of truncation or rounding when a floating- point number is converted to a narrower floating-point number:
© 2010, Oracle Corporation and/or its affiliates