Skip to content

Commit 8b05b46

Browse files
committed
.Bool on allomorphs return False when numerically 0
1 parent f739bcb commit 8b05b46

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

doc/Type/ComplexStr.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Defined as:
4444
4545
I<This method may be provided by the parent classes and not implemented in ComplexStr directly>.
4646
47-
Returns C<True> if the invocant is numerically C<±0±0i>, otherwise returns C<True>. String portion
47+
Returns C<False> if the invocant is numerically C<±0±0i>, otherwise returns C<True>. String portion
4848
is not considered.
4949
5050
=head2 method Capture

doc/Type/IntStr.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Defined as:
4343
4444
I<This method may be provided by the parent classes and not implemented in IntStr directly>.
4545
46-
Returns C<True> if the invocant is numerically C<0>, otherwise returns C<True>. String portion
46+
Returns C<False> if the invocant is numerically C<0>, otherwise returns C<True>. String portion
4747
is not considered.
4848
4949
=head2 method Int

doc/Type/NumStr.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Defined as:
4343
4444
I<This method may be provided by the parent classes and not implemented in NumStr directly>.
4545
46-
Returns C<True> if the invocant is numerically C<±0e0>, otherwise returns C<True>. String portion
46+
Returns C<False> if the invocant is numerically C<±0e0>, otherwise returns C<True>. String portion
4747
is not considered.
4848
4949
=head2 method Num

doc/Type/RatStr.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Defined as:
4343
4444
I<This method may be provided by the parent classes and not implemented in RatStr directly>.
4545
46-
Returns C<True> if the L<numerator> of the numeric portion is C<0>, otherwise returns C<True>.
46+
Returns C<False> if the L<numerator> of the numeric portion is C<0>, otherwise returns C<True>.
4747
This applies for C«< 0/0 >» zero-denominator L<RatStr> as well, despite C«?< 0/0 >.Num» being
4848
C<True>. String portion is not considered.
4949

0 commit comments

Comments
 (0)