Skip to content

Commit

Permalink
Narrower routine declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
stoned committed Nov 29, 2020
1 parent 8fd06b7 commit c9eef1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/Type/Test.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ tested independently, and the C<is-approx> test will succeed only if both pass.
Defined as:
sub is-approx-calculate ($got, $expected, $abs-tol where { !.defined or $_ >= 0 }, $rel-tol where { !.defined or $_ >= 0 }, $desc)
=for code :method
sub is-approx-calculate($got, $expected, $abs-tol where { !.defined or $_ >= 0 },
$rel-tol where { !.defined or $_ >= 0 }, $desc)
This is the actual routine called by
L<C<is-approx> when absolute and relative tolerance are specified|/type/Test#Both_absolute_and_relative_tolerance_specified>.
Expand Down

0 comments on commit c9eef1e

Please sign in to comment.