This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

BROKEN_LDEXP - still useful?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]