first commit of the new libm!
[musl] / src / math / remainderl.c
1 #include "libm.h"
2
3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double remainderl(long double x, long double y)
5 {
6         return remainder(x, y);
7 }
8 #else
9 long double remainderl(long double x, long double y)
10 {
11         int q;
12         return remquol(x, y, &q);
13 }
14 #endif