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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 5 14:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64497

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Looking at the C standard, it seems that the result is implementation-defined
on underflow, and zero is a valid result. C++ doesn't change that.



More information about the Gcc-bugs mailing list