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