On 27 Jul 2008, at 2:48 am, Justin Giboney wrote:

Multiply by -1


No, that's not the same as fabs(x). If the number is already +ve, *-1 it will make it -ve. fabs(x) makes -ve numbers +ve, but not vice versa.

In any case you can't multiply NSNumber by anything - it's immutable.


Graham
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to