[COMMITTED] math: Fix non-portability in the computation of signgam in lgammaf

Wilco Dijkstra Wilco.Dijkstra@arm.com
Mon Nov 25 15:17:30 GMT 2024


Hi Adhemerval,

+  if (__glibc_unlikely (fx >= 0))
+    *signgamp = 1;

Did you mean likely here (as the description suggests)?

Note if negative values are frequent, the branch may be less predictable than before.

Cheers,
Wilco


More information about the Libc-alpha mailing list