From: Eric Blake Date: Tue, 3 Apr 2007 03:52:05 +0000 (+0000) Subject: Make ldexpl truly independent of libm X-Git-Tag: cvs-readonly~601 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=8f26306d823676b6419d018f87d70fbd0b96e4d9;p=gnulib.git Make ldexpl truly independent of libm --- diff --git a/ChangeLog b/ChangeLog index bb6dcef53..2c119fcb8 100644 --- 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 index bb16be66b..bce2a082f 100644 --- 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 @@ ldexpl(long double x, int exp) 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;