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