Pyth

From WikiManual
Revision as of 17:13, 3 October 2005 by Numsgil (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Pythagorous Sum Operator BINARY

Returns the hypotenuse formed by the legs of a triangle with lengths the two top values of the stack. That is:

3 4 pyth

would place 5 on the stack as per a^2 + b^2 = c^2.