Files
semi-libc/src/math/__math_invalidl.c
T
Szabolcs Nagy 4f893997e4 math: add __math_invalidl
for targets where long double is different from double.
2020-08-05 23:05:57 -04:00

10 lines
153 B
C

#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