[PATCH v4 16/21] math: Remove the SVID error handling from sinhf

Wilco Dijkstra Wilco.Dijkstra@arm.com
Wed Oct 29 21:04:28 GMT 2025


Hi Adhemerval,

       float sgn = copysignf (2.0f, x);
       float r = math_narrow_eval (sgn * 0x1.fffffep127f);
+      __set_errno (ERANGE);
       return r;

Why not replace all that with return __math_uflowf (x < 0)?

Cheers,
Wilco


More information about the Libc-alpha mailing list