Skip to content

Instantly share code, notes, and snippets.

@richlowe

richlowe/why.c Secret

Created June 3, 2019 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richlowe/14b58c16296d641ebdc408319da93a10 to your computer and use it in GitHub Desktop.
Save richlowe/14b58c16296d641ebdc408319da93a10 to your computer and use it in GitHub Desktop.
if (x > X_TLOSS) {
if (sgn != 0) { d = -d; x = -x; }
return (_SVID_libm_err(x, d, 36));
} else
if (sgn == 0)
return (d);
else
return (-d);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment