We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
CubeRoot(long) ? (Read 245 times)
CubeRoot(long) ?
Feb 2nd, 2008, 5:49am
 
How to get the cuberootfloor of a long?

cuberootfloor(27)=3
cuberootfloor(28)=3
cuberootfloor(29)=3
...
cuberootfloor(63)=3
cuberootfloor(64)=4

I tried to use pow(), but for that I can't use a long.
Then how to convert a long to a float?
Page Index Toggle Pages: 1