7 Jan
2011
7 Jan
'11
5:41 p.m.
On Jan 7, 2011, at 5:21 PM, Thibault Martin-Lagardette wrote:
I'd say something like: a = NSNumber.numberWithDouble(0.0/0.0) which returns the exact same thing as: a = (0.0/0.0)
Does the resulting NaN automatically convert to NSNumber? I need to pass the object initialized this way to a function in another framework, e.g. [focusParameter setNumberValue:[NSNumber numberWithDouble:NAN]]; --- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont