This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/64497] std::scalbln does not round correctly for long doubles


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]