|
|
|
|
cube root?
#127734
05/03/07 00:24
05/03/07 00:24
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,305
New York
|
How do I find the cube root of a number in c script? I know sqrt is for the square root... I really need this..
"There is no problem that can't be solved with time and determination." -me prenceofdarkness for instant messages on AIM.
Looking for a model designer PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
|
|
|
Re: cube root?
[Re: xXxGuitar511]
#127736
05/03/07 01:28
05/03/07 01:28
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,305
New York
|
actually my friend it's result = pow(input,(1/3));
The manual is misleading it says if the y part of pow(x,y) is a fraction it doesn't work or something.. but i tested it out and it works thanks anyway
"There is no problem that can't be solved with time and determination." -me prenceofdarkness for instant messages on AIM.
Looking for a model designer PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
|
|
|
|
|
|
|