This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
BROKEN_LDEXP - still useful?
- To: gcc at gcc dot gnu dot org
- Subject: BROKEN_LDEXP - still useful?
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Mon, 30 Apr 2001 19:59:37 -0700
optabs.c has:
#ifdef BROKEN_LDEXP
/* SCO 3.2 apparently has a broken ldexp. */
double
ldexp(x,n)
double x;
int n;
{
if (n > 0)
while (n--)
x *= 2;
return x;
}
#endif /* BROKEN_LDEXP */
Is that a live host? Is it feasible to shift this to libiberty and
write an autoconf test for it? (I'd need to know the details of the
breakage...)
zw