Re: floatValue of nil NSNumber unreliable (was Re: Bug or feature?)
Re: floatValue of nil NSNumber unreliable (was Re: Bug or feature?)
- Subject: Re: floatValue of nil NSNumber unreliable (was Re: Bug or feature?)
- From: Andrew White <email@hidden>
- Date: Wed, 15 Feb 2006 09:26:49 +1100
Since no-one has yet quoted from the Universal Binary Programming
Guidelines, this is discussed on pg 46 (chapter 4, Guidelines for Specific
Scenarios):
-----
Objective-C: Messages to nil
On a Macintosh using an Intel microprocessor, Objective-C messages sent to
nil return garbage for return values that are typed as float or double. On
a Macintosh using a PowerPC microprocessor these messages return 0.0.
-----
--
Andrew White
--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
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