6.3.1.7 Real and complex

Previous Table of Contents

696 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.

697 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: 2005-06-29 02:18:56 The text from WG14/N1124 is copyright © ISO