Make ldexpl truly independent of libm
authorEric Blake <ebb9@byu.net>
Tue, 3 Apr 2007 03:52:05 +0000 (03:52 +0000)
committerEric Blake <ebb9@byu.net>
Tue, 3 Apr 2007 03:52:05 +0000 (03:52 +0000)
ChangeLog
lib/ldexpl.c

index bb6dcef..2c119fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-04-02  Eric Blake  <ebb9@byu.net>
 
+       * lib/ldexpl.c (includes): Avoid libm.
+
        * modules/printf-frexpl (Depends-on): Depend on ldexpl.
 
 2007-04-02  Bruno Haible  <bruno@clisp.org>
index bb16be6..bce2a08 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <float.h>
 #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;