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.4)The direction of truncation or rounding when a floating- point number is converted to a narrower floating-point number:
Sun WorkShop Compiler C 5.0 User's Guide
Previous
: (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:
Next
: Arrays and Pointers(G.3.7)
(6.2.1.4)The direction of truncation or rounding when a floating- point number is converted to a narrower floating-point number:
Numbers are rounded to the nearest value that can be represented.
Previous
: (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:
Next
: Arrays and Pointers(G.3.7)
© 2010, Oracle Corporation and/or its affiliates