6.3.1.7 Real and complex

Previous Table of Contents "New C Standard" commentary

700 When a value of real type is converted to a complex type, the real part of the complex result value is determined by the rules of conversion to the corresponding real type and the imaginary part of the complex result value is a positive zero or an unsigned zero.

701 When a value of complex type is converted to a real type, the imaginary part of the complex value is discarded and the value of the real part is converted according to the conversion rules for the corresponding real type.

Next

Created at: 2008-01-30 02:39:41 The text from WG14/N1256 is copyright © ISO