On Wed, 11 Dec 2013 02:19:03 -0800, sisyphus wrote: > Unpacking > the long double reveals that perl assigns: > > 5ab7151b377c247e5707b80b00474380 > instead of the correct: > 5ab7151b377c247e5707b80b00474440 Actually, I don't think 5ab7151b377c247e5707b80b00474440 is correct either. It's the value that C's strtold() assigns - but the mpfr library tells me that the correct value (for rounding to nearest, ties to even) is 5ab7151b377c247e5707b80b0047445d. Having spent some time tonight playing around with various ad-hoc values, it seems that strtold() is little more reliable than perl when it comes to assigning these values. Cheers, Rob --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=120758