[moderator Re: why use pow(x, 2)?
[moderator Re: why use pow(x, 2)?
- Subject: [moderator Re: why use pow(x, 2)?
- From: Scott Anguish <email@hidden>
- Date: Mon, 2 Nov 2009 23:28:15 -0500
On Nov 2, 2009, at 2:01 PM, Chunk 1978 wrote:
> i just came across some code, and i'm trying to understand why the developer
> chose to use the pow() function instead of simply multiplying as the 2nd
> arguments are always 2. i'm certainly no mathematician, but if the 2nd
> argument is going to be 2, why use pow()? is it just a matter of taste?
>
> why use this:
This is not a cocoa specific auestion.
take it elsewhere._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden