use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm] / src / math / remainderl.c
1 #include "libm.h"
2 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
3 long double remainderl(long double x, long double y)
4 {
5         return remainder(x, y);
6 }
7 #else
8 long double remainderl(long double x, long double y)
9 {
10         int q;
11         return remquol(x, y, &q);
12 }
13 #endif