site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 1, 2005, at 11:30, David N. Williams wrote: The only other OS I have easy access to is linux. There I get the same behavior as Panther: For what it's worth: ---------- % cc -o tj testjmp.c % ./tj rounding direction before setjmp is 0 rounding direction changed to 1024 status = 15 rounding direction after longjmp is 0 % uname -s -m -r HP-UX B.11.23 ia64 % cc -V cc: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003] ---------- Eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Matt Watson wrote: You might consider trying your code on other systems to see what they do. Here's what I get on FreeBSD, for instance: % ./a.out rounding direction before setjmp is 0 rounding direction changed to 1024 status = 15 rounding direction after longjmp is 0 If you find that other OS's do the same thing, I suggest adapting your code to work with this behavior. -- Eric Gouriou eric.gouriou@pobox.com This email sent to site_archiver@lists.apple.com