|
rwfrk Wanderer
Joined: 26 Feb 2002 Posts: 81 Location: USA
|
Posted: Sat Dec 28, 2002 4:49 pm
Use of exponets |
appearntly its not ^..and i cant find it..trying to do
1000*((2^n)-1)qp & 10*((2^n)-1)points. Where QP and points are units |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Dec 28, 2002 5:38 pm |
There is no exponent function or operator. What's the purpose of this?
As long as n is a positive integer, you should have no difficulty writing a loop to do this. Depending on how large n can be, a lookup table might even work.
LightBulb
Senior Member |
|
|
|
rwfrk Wanderer
Joined: 26 Feb 2002 Posts: 81 Location: USA
|
Posted: Sun Dec 29, 2002 4:20 am |
I suppose i'll just rewrite it as @varible x @variable ;)..Thanks anyway.
|
|
|
|
|
|