• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setjmp/longjmp changed in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setjmp/longjmp changed in Tiger


  • Subject: Re: setjmp/longjmp changed in Tiger
  • From: Matt Watson <email@hidden>
  • Date: Sat, 28 May 2005 20:06:05 -0700


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:

http://www.opengroup.org/onlinepubs/009695399/basedefs/fenv.h.html

[...]

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: setjmp/longjmp changed in Tiger
      • From: plumber <email@hidden>
References: 
 >setjmp/longjmp changed in Tiger (From: "David N. Williams" <email@hidden>)

  • Prev by Date: setjmp/longjmp changed in Tiger
  • Next by Date: Re: setjmp/longjmp changed in Tiger
  • Previous by thread: setjmp/longjmp changed in Tiger
  • Next by thread: Re: setjmp/longjmp changed in Tiger
  • Index(es):
    • Date
    • Thread