Mail Archives: djgpp/1992/02/20/11:30:00
} pow(2, 3)=2.1087770
I get the following with no 387, soft float functions in libm.a
derived from bsd source:
8.0000000 = pow(2.0000000, 3.0000000)
In case it's any use to anyone, the libm.a is available from
ftp.Hawaii.edu (or uhunix2.uhcc.Hawaii.edu) in /pub/linguist/libm.zoo.
I had to remove the declarations of fabs() and finite() from
my math.h and add this:
#define fabs(x) ((x)<0.? -(x):(x)) /* Floating absolute value */
-- Greg, lee AT uhunix DOT uhcc DOT hawaii DOT edu (lee AT uhunix on Bitnet)
- Raw text -