• 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: About Universal Binaries...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Still struggling with Universal Binaries (From: Aram Kudurshian <email@hidden>)
 >Re: Still struggling with Universal Binaries (From: Shawn Erickson <email@hidden>)
 >About Universal Binaries... (From: "Juan P. Pertierra" <email@hidden>)
 >Re: About Universal Binaries... (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Smart Groups in Address Book
  • Next by Date: Re: About Universal Binaries...
  • Previous by thread: Re: About Universal Binaries...
  • Next by thread: Re: About Universal Binaries...
  • Index(es):
    • Date
    • Thread