next up previous contents index
Next: Usual arithmetic conversions Up: Arithmetic operands Previous: Floating and integral

Floating types

The Standard, unlike the Base Document, does not require rounding in the double to float conversion. modSome widely usedmod IEEE floating point processor chips control floating to integral conversion with the same mode bits as for double-precision to single-precision conversion; since truncation-toward-zero is the appropriate setting for C in the former case, it would be expensive to require such implementations to round to float.

3 2 1 5


Pete Jinks
Fri Jan 19 12:31:56 GMT 1996