(e24toe, e53toe, e64toe): Fix sign in conversions
of -infinity. Always do eclear before einfin.
From-SVN: r4513
}
/* Fill external format number with infinity pattern (IEEE)
- or largest possible number (non-IEEE). */
+ or largest possible number (non-IEEE).
+ Before calling einfin, you should either call eclear
+ or set up the sign bit by hand. */
void
einfin (x)
}
#endif
einfin (b);
- return;
+ return;
}
#endif
/* skip over guard word */
}
#endif
#endif /* NANS */
+ eclear (y);
einfin (y);
- if (r & 0x8000)
+ if (yy[0])
eneg (y);
return;
}
}
#endif
#endif /* NANS */
+ eclear (y);
einfin (y);
if (*p & 0x8000)
eneg (y);
}
#endif
#endif /* NANS */
+ eclear (y);
einfin (y);
- if (r & 0x8000)
+ if (yy[0])
eneg (y);
return;
}