diff options
Diffstat (limited to 'lib/msun/src/e_remainder.c')
-rw-r--r-- | lib/msun/src/e_remainder.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/e_remainder.c b/lib/msun/src/e_remainder.c index 2d285d6..9be513b 100644 --- a/lib/msun/src/e_remainder.c +++ b/lib/msun/src/e_remainder.c @@ -23,6 +23,8 @@ __FBSDID("$FreeBSD$"); * Based on fmod() return x-[x/p]chopped*p exactlp. */ +#include <float.h> + #include "math.h" #include "math_private.h" @@ -71,3 +73,7 @@ __ieee754_remainder(double x, double p) SET_HIGH_WORD(x,hx^sx); return x; } + +#if LDBL_MANT_DIG == 53 +__weak_reference(remainder, remainderl); +#endif |