Anonymous user
Approximate equality: Difference between revisions
→{{header|Python}}: flagged as needs improvement, possibly due to a typo in the program (the leading digit was dropped from "100.01").
(→{{header|REXX}}: added the REXX computer programming language for this task.) |
(→{{header|Python}}: flagged as needs improvement, possibly due to a typo in the program (the leading digit was dropped from "100.01").) |
||
Line 72:
=={{header|Python}}==
{{improve|Python| <br> The first number for the 2nd pair of (testvalues) numbers should be: <br> '''100.01''' <br> instead of <br> '''00.01''' <br><br> Please fix the program and update the output, and remove this flagging text.}}
<lang python>from numpy import sqrt
from math import isclose
|