Difference between revisions of "Pyth"

From WikiManual
Jump to: navigation, search
 
Line 1: Line 1:
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.
 

Revision as of 17:51, 10 October 2005