Difference between revisions of "Pyth"
From WikiManual
m (example) |
m (style + find x) |
||
Line 1: | Line 1: | ||
+ | __notoc__ | ||
+ | {| align="right" | ||
+ | |- | ||
+ | |{{Advanced Commands}} | ||
+ | |} | ||
+ | ==[[Operator]]s:== | ||
+ | |||
Pythagorous Sum Operator '''BINARY''' | Pythagorous Sum Operator '''BINARY''' | ||
Returns the hypotenuse formed by the legs of a triangle with lengths the two top values of the stack. | Returns the hypotenuse formed by the legs of a triangle with lengths the two top values of the stack. | ||
− | |||
− | |||
− | |||
==Example:== | ==Example:== | ||
Line 14: | Line 18: | ||
3 3 mult 4 4 mult add sqr | 3 3 mult 4 4 mult add sqr | ||
− | + | ||
+ | |||
+ | [[Image:Findx.jpg]] |
Revision as of 21:11, 4 February 2006
|
Operators:
Pythagorous Sum Operator BINARY
Returns the hypotenuse formed by the legs of a triangle with lengths the two top values of the stack.
Example:
3 4 pyth
3 3 mult 4 4 mult add sqr