# HG changeset patch # User Eric Blake # Date 1175572325 0 # Node ID aacb9380395ed758fae12d0e064a4d72066661b7 # Parent ab5627bc78a741a41d5941faefdfcb64adb428d2 Make ldexpl truly independent of libm diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-04-02 Eric Blake + * lib/ldexpl.c (includes): Avoid libm. + * modules/printf-frexpl (Depends-on): Depend on ldexpl. 2007-04-02 Bruno Haible diff --git a/lib/ldexpl.c b/lib/ldexpl.c --- a/lib/ldexpl.c +++ b/lib/ldexpl.c @@ -26,7 +26,7 @@ #include #include "fpucw.h" -#include "isnanl.h" +#include "isnanl-nolibm.h" long double ldexpl(long double x, int exp) @@ -52,7 +52,7 @@ for (bit = 1;;) { /* Invariant: Here bit = 2^i, factor = 2^-2^i or = 2^2^i, - and bit <= exp. */ + and bit <= exp. */ if (exp & bit) x *= factor; bit <<= 1;