Exponentiation (beginner)
Posted: Sat Aug 26, 2006 10:57 am
If you need to do something like Pow() but with larger numbers than you can a float can hold, you can use this macro:
It's not absolutely fast, but it's does work.
Code: Select all
Macro ExpLtoQ(b, e)
res64.q = 1
For i.l = 0 To e-1
res64*b
Next
EndMacro