Re: About Universal Binaries...
Re: About Universal Binaries...
- Subject: Re: About Universal Binaries...
- From: John Stiles <email@hidden>
- Date: Tue, 31 Jan 2006 21:52:33 -0800
Nick Zitzmann wrote:
On Jan 31, 2006, at 6:06 PM, Juan P. Pertierra wrote:
From an initial look to the online Apple transition documentation it
seems all the differences that have to be addressed span from the
difference in byte order i.e. big endian vs little endian.
That's one thing, but there's a lot more than that:
1. On PPC, if some code divides by zero, then the result returned is
NaN and the executable will continue running. On Intel, if some code
divides by zero, then the executable crashes.
This is not quite right.
For floating point, both processors generate inf for "x/0" where x>0,
-inf for "x/0" where x<0, and NaN/ /for x=0 or NaN. These are just the
regular IEEE floating point rules.
For integer, PowerPC generates 0 for any "x/0". Intel crashes with
EXC_I386_DIV--this can be caught and handled in code, I think, but I
haven't looked into it too much.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden