We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c3684 commit f9ebabaCopy full SHA for f9ebaba
doc/Language/operators.pod
@@ -1406,7 +1406,7 @@ Here is an excerpt of built-in smart-matching functionality:
1406
The X<approximately-equal operator>. Calculates the relative difference between
1407
the left-hand and right-hand sides and returns C<True> if the difference is
1408
less than $*TOLERANCE (which defaults to 1e-15). However, if either side is zero
1409
-then it calculates the absolute difference between the non-zero side and $*TOLERANCE.
+then it checks that the absolute difference between the sides is less than $*TOLERANCE.
1410
Note that this operator is not arithmetically symetrical (doesn't do ± Δ):
1411
1412
say ($x + $*TOLERANCE) =~= $x; # True
0 commit comments