Mercurial > hg > octave-kai > gnulib-hg
changeset 8617:aacb9380395e
Make ldexpl truly independent of libm
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Tue, 03 Apr 2007 03:52:05 +0000 |
parents | ab5627bc78a7 |
children | a01c7a9d94f7 |
files | ChangeLog lib/ldexpl.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- a/lib/ldexpl.c +++ b/lib/ldexpl.c @@ -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 @@ 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;