xref: /aosp_15_r20/external/musl/src/math/remainderl.c (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1 #include <math.h>
2 #include <float.h>
3 
4 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
remainderl(long double x,long double y)5 long double remainderl(long double x, long double y)
6 {
7 	return remainder(x, y);
8 }
9 #else
remainderl(long double x,long double y)10 long double remainderl(long double x, long double y)
11 {
12 	int q;
13 	return remquol(x, y, &q);
14 }
15 #endif
16