[Bug c++/33067] Awkward long decimal expansion for double literal in error.
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 11 11:04:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33067
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #21 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-11 11:03:04 UTC ---
On x86_64-linux, 4.7 will output:
33067.C:2:18: error: no match for ‘operator<’ in ‘1.1000000000000001e+0 < t’
or, for example,
33067.C:2:19: error: no match for ‘operator<’ in ‘1.10000002e+0f < t’
in case of 1.1f, which are a definite improvement. For other issues in this
area, the reference is PR49152.
More information about the Gcc-bugs
mailing list