Cokemonkey11
Spell Reviewer
- Joined
- May 9, 2006
- Messages
- 3,570
JASS has no ^ operator
i think you mean Pow(a,p)
also most languages that do have an ^ operator it implements exclusive OR rather than exponentiation..
also..
does it have SquareRoot function? i would guess not ..
pow(a,0.5) is so trivial i dont see a reason for a separate square root function..
JNGP has a nice function library where u can look at all the built in functions, i would suggest to use it.
Because square root on floats is way cheaper than that.
http://betterexplained.com/articles/understanding-quakes-fast-inverse-square-root/