Documentation Home
>
Sun Studio 12: C User's Guide
>
Appendix E Implementation-Defined ISO/IEC C90 Behavior
>
E.1 Implementation Compared to the ISO Standard
>
E.1.6 Floating-Point (G.3.6)
>
E.1.6.1 (6.1.2.5) The representations and sets of values of the various types of floating-point numbers:
> (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 Studio 12: C User's Guide
Previous
: E.1.5 Integers (G.3.5)
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
: E.1.5 Integers (G.3.5)
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