Storing NaN in NSMutableArray ?
Storing NaN in NSMutableArray ?
- Subject: Storing NaN in NSMutableArray ?
- From: "Kubernan @ 10191 Tec." <email@hidden>
- Date: Wed, 10 Mar 2004 19:59:38 +0100
Hello,
I'm looking for a way to store a NaN value in a NSMutableArray.
When i :
[anArray addObject:[NSDecimalNumber notANumber]];
The values seems become +0.0 :
NSLog(@"Array contains : %@", anArray); gives :
{type = mutable-small, count = 1, values = (
0 : <CFNumber 0x310e80 [0xa01900e0]>{value = +0.0, type =
kCFNumberFloat64Type}
)}
Why NaN becomes +0.0 ?
How to store NaN in my array ?
Thx a lot.
Chris.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.