RosettaCodeData/Task/Approximate-equality/Forth/approximate-equality.fth

6 lines
139 B
Forth

: test-f~ ( f1 f2 -- )
1e-18 \ epsilon
f~ \ AproximateEqual
if ." True" else ." False" then
;