On May 28, 2005, at 7:47 PM, David N. Williams wrote:
Is the Tiger behavior a bug? If so, I'll file a bug report.
Please let me know what you think.
This is not a bug. longjmp() should restore the environment at the
time of the setjmp() and floating-point rounding mode is part of the
environment, so Tiger does this correctly.
As to the "for example, floating-point status flags" part of the man
page, floating-point status flags are not floating-point control
modes. See the distinction here:
A floating-point status flag is a system variable whose value is
set (but never cleared) when a
floating-point exception is raised, which occurs as a side
effect of exceptional floating-point
arithmetic to provide auxiliary information. A floating-point
control mode is a system variable
whose value may be set by the user to affect the subsequent
behavior of floating-point arithmetic.
matt.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden