|
|
|
Annex G (informative) IEC 60559-compatible complex arithmetic G.1 Introduction 1 This annex supplements annex F to specify complex arithmetic for compatibility with An implementation that defines _ _STDC_IEC_559_COMPLEX_ _ should conform to the specifications in this annex. G.2 Types 1 There is a new keyword _Imaginary , which is used to specify imaginary types. It is used as a type specifier within declaration specifiers in the same way as _Complex is (thus, _Imaginary float is a valid type name). 2 There are three imaginary types, designated as float _Imaginary , double _Imaginary , and long double _Imaginary . The imaginary types (along with the real floating and complex types) are floating types. 3 For imaginary types, the corresponding real type is given by deleting the keyword _Imaginary from the type name. 4 Each imaginary type has the same representation and alignment requirements as the 5 The imaginary type domain comprises the imaginary types. G.3 Conventions 1 A complex or imaginary value with at least one infinite part is regarded as an infinity §G.3 IEC 60559-compatible complex arithmetic 467 |