NSNumber's integer approximation of Positive Infinity
NSNumber's integer approximation of Positive Infinity
- Subject: NSNumber's integer approximation of Positive Infinity
- From: Gabriele de Simone <email@hidden>
- Date: Wed, 24 May 2006 18:47:54 -0400
I just noticed that the following invocation:
[((NSNumber *) kCFNumberPositiveInfinity) intValue]
returns 0x7FFFFFF on PowerPC (good) and 0x8000000 on Intel (bad). One
would expect that the NSNumber approximation of positive infinity
would return identical values on both architectures. Is this a bug,
or am I missing some piece of information?
_______________________________________________
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