Re: Math question
Re: Math question
- Subject: Re: Math question
- From: Vince DeMarco <email@hidden>
- Date: Sat, 1 Sep 2001 17:14:38 -0700
On Saturday, September 1, 2001, at 04:27 pm, John C. Randolph wrote:
On Saturday, September 1, 2001, at 02:34 PM, email@hidden wrote:
Hello all. i have a question about math in Cocoa. how do i do higher
level math? obviously i can do the basics */+-% without problem. but
what about doing things like raising a number to a power?
fooSquared = foo^2;
For other math functions in the C standard library, open a terminal
window and type "man math".
Try again foo^2 is foo XOR 2.
vince