This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64497] std::scalbln does not round correctly for long doubles
- From: "cubbi at cubbi dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Jan 2015 04:33:32 +0000
- Subject: [Bug c++/64497] std::scalbln does not round correctly for long doubles
- Auto-submitted: auto-generated
- References: <bug-64497-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64497
Sergey Zubkov <cubbi at cubbi dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cubbi at cubbi dot org
--- Comment #5 from Sergey Zubkov <cubbi at cubbi dot org> ---
FYI, cppreference got that phrasing from POSIX's "If the correct value would
cause underflow, and is representable, a range error may occur and the correct
value shall be returned.", which is a part of its optional IEC 60559
Floating-Point extension to the C standard:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/scalbln.html