A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1002.htm below:

Defect report #2dd

Document: WG14 N1002 Date: 2003-02-26
Defect Report #2ddPrevious Defect Report < - > Next Defect Report


Submitter: WG14 Convener
Submission Date: 2003-02-26
Source:
Reference Document: ISO/IEC WG14 N1002
Version: 1.0
Date: 2003-02-26
Subject: Conversion of an imaginary type to _Bool.

Summary

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


Previous Defect Report < - > Next Defect Report


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4