• 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: Question about floatValue on nil object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about floatValue on nil object


  • Subject: Re: Question about floatValue on nil object
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 13 Sep 2005 12:56:02 +0100

On 13/09/05, Finlay Dobbie <email@hidden> wrote:
> On 13/09/05, Andrew Farmer <email@hidden> wrote:
> > Incidentally, don't depend on messages to nil objects returning nil.
> > Apple has stated that messages to nil will have undefined results
> > (including crashes) on the x86.
>
> No they haven't. The rules are exactly the same on x86: you can rely
> on a message to nil returning nil. You cannot rely on the results for
> a non-id sized type, especially floats and structs.

That should have been "non-id type".

 -- Finlay
 _______________________________________________
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: 
 >Question about floatValue on nil object (From: MichaĆ«l Parrot <email@hidden>)
 >Re: Question about floatValue on nil object (From: Andrew Farmer <email@hidden>)
 >Re: Question about floatValue on nil object (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: How to add toolbar into Mail.App
  • Next by Date: Manual bindings without key path?
  • Previous by thread: Re: Question about floatValue on nil object
  • Next by thread: Re: Question about floatValue on nil object
  • Index(es):
    • Date
    • Thread