Submitter: WG14 Convener
Submission Date: 2003-02-26
Reference Document: ISO/IEC WG14 N1002
Subject: Conversion of an imaginary type to _Bool.
18.104.22.168 is clear that any non-zero scalar value gets turned into 1 by a _Bool conversion.
However, G.4.2 says that when an imaginary value is converted to a real, the result is zero.
Suggested Technical Corrigendum
Change G.4.2 to:
When a value of imaginary type is converted to a real type other than _Bool, the result is a positive zero. See 22.214.171.124.
Previous Defect Report < - > Next Defect Report