sleef
sleef copied to clipboard
xsignbitf(double d)
https://github.com/shibatch/sleef/blob/85440a5e87dae36ca1b891de14bc83b441ae7c43/src/libm/sleefsp.c#L71
int xsignbitf(double d)
should probably use float instate of double.
Yes. Thank you for pointing out.
Also, maybe better implementation: floatToRawIntBits(d) >> 31