From 8f26306d823676b6419d018f87d70fbd0b96e4d9 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 3 Apr 2007 03:52:05 +0000 Subject: [PATCH] Make ldexpl truly independent of libm --- ChangeLog | 2 ++ lib/ldexpl.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb6dcef538..2c119fcb89 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 bb16be66b6..bce2a082f9 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; -- 2.30.2