do some tests, apparently sqr is very optimized:
[CODE]
start=MilliSecs()
a=323
b=73
For i%=0 To 1000000
Sqr(a*a + b*b)
Next
Print MilliSecs()-start
Repeat
Forever
[/CODE]
and also atan2 is pretty good
(at least for me, using BP)
[CODE]
start=MilliSecs()
a=323
b=73
For i%=0 To 1000000
Sqr(a*a + b*b)
Next
Print MilliSecs()-start
Repeat
Forever
[/CODE]
and also atan2 is pretty good
(at least for me, using BP)