Title
Floating-point zero
Status
open
Section
6.8.2 [basic.fundamental]
Submitter
Andy Sawyer

Created on 1999-07-23.00:00:00 last changed 309 months ago

Messages

Date: 2016-02-15.00:00:00

6.8.2 [basic.fundamental] does not impose a requirement on the floating point types that there be an exact representation of the value zero. This omission is significant in 7.3.14 [conv.fctptr] paragraph 1, in which any non-zero value converts to the bool value true.

Suggested resolution: require that all floating point types have an exact representation of the value zero.

History
Date User Action Args
1999-07-23 00:00:00admincreate