RosettaCodeData/Task/Variables/Forth/variables-1.fth

4 lines
132 B
Forth
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
: hypot ( a b -- a^2 + b^2 )
LOCALS| b a | \ note: reverse order from the conventional stack comment
b b * a a * + ;