summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/math/__math_invalidl.c
blob: 1fca99de4f5452f022917e24de51e25287410807 (plain)
1
2
3
4
5
6
7
8
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