diff options
Diffstat (limited to 'libc-top-half/musl/src/math/__math_invalidl.c')
-rw-r--r-- | libc-top-half/musl/src/math/__math_invalidl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/math/__math_invalidl.c b/libc-top-half/musl/src/math/__math_invalidl.c new file mode 100644 index 0000000..1fca99d --- /dev/null +++ b/libc-top-half/musl/src/math/__math_invalidl.c @@ -0,0 +1,9 @@ +#include <float.h> +#include "libm.h" + +#if LDBL_MANT_DIG != DBL_MANT_DIG +long double __math_invalidl(long double x) +{ + return (x - x) / (x - x); +} +#endif |