Calchypotenuse: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) Created page with "'''calchypotenuse''' <returnvar> <x> <y> Calculates the value of {{sqrt|x{{exp|2}} + y{{exp|2}}}} and assigns it to the gamevar <returnvar>. Internally, this command has..." |
(No difference)
|
Latest revision as of 17:17, 9 January 2013
calchypotenuse <returnvar> <x> <y>
Calculates the value of √x2 + y2 and assigns it to the gamevar <returnvar>.
Internally, this command has special coding to use 64-bit integers in its calculations so the in-process square (before the root is taken) does not overflow.