[Bug math/30066] Inaccurate asin computation.

zimmerma+gcc at loria dot fr sourceware-bugzilla@sourceware.org
Thu Oct 9 12:06:20 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=30066

Paul Zimmermann <zimmerma+gcc at loria dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |zimmerma+gcc at loria dot fr

--- Comment #1 from Paul Zimmermann <zimmerma+gcc at loria dot fr> ---
the output of asin(sin(1.5))) is fully correct.

Indeed, sin(1.5) is not exactly representable in double precision, if correct
rounding to nearest it yields y=0x1.feb7a9b2c6d8bp-1. Then asin(y) with correct
rounding to nearest yields 0x1.8000000000001p+0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list