Strange Behavior -- AT&T Std C

David Wolverton daw at cbnewsh.att.com
Sat Apr 20 04:06:25 AEST 1991


In article <1991Apr18.144759.4492 at mccc.edu>, pjh at mccc.edu (Peter J. Holsberg) writes:
> Here's the source:
	[lots deleted]

If your system is using IEEE 754-based floating point (which
has a good probability of being true), then it is possible
to ask the floating point subsystem to signal several types
of f.p. exceptions, including "inexact" (that is, that a
computation had to round off a result).  Normally, you would
never want to enable this particular signal, but if it was
enabled, it would probably fire on ANY call to exp(), because
it would be very unlikely that exp()'s internal computations
would be completely roundoff-free.

Dave Wolverton
daw at honshu.att.com



More information about the Comp.lang.c mailing list