diff options
author | Peter John Acklam <pjacklam@online.no> | 2011-09-01 14:04:05 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-09-01 14:13:58 -0700 |
commit | ad66d0c9a62d4dfd3104dc78e5ed404470286bb6 (patch) | |
tree | 10500d2e667e62581ba809db5a527a1b774b1d1f /dist/Math-BigInt | |
parent | ec5c6d13a2c8586dfcaa743107f82eac7b112664 (diff) | |
download | perl-ad66d0c9a62d4dfd3104dc78e5ed404470286bb6.tar.gz |
[perl #98256] Add POD for the bsgn() method.
This stops Pod::Coverage (and possibly users)
from complaining about missing documentation.
Diffstat (limited to 'dist/Math-BigInt')
-rw-r--r-- | dist/Math-BigInt/lib/Math/BigInt.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/Math-BigInt/lib/Math/BigInt.pm b/dist/Math-BigInt/lib/Math/BigInt.pm index 1d58712035..0bb8ebae3a 100644 --- a/dist/Math-BigInt/lib/Math/BigInt.pm +++ b/dist/Math-BigInt/lib/Math/BigInt.pm @@ -3861,6 +3861,13 @@ Set the number to its absolute value, e.g. change the sign from '-' to '+' and from '-inf' to '+inf', respectively. Does nothing for NaN or positive numbers. +=head2 bsgn() + + $x->bsgn(); + +Signum function. Set the number to -1, 0, or 1, depending on whether the +number is negative, zero, or positive, respectivly. Does not modify NaNs. + =head2 bnorm() $x->bnorm(); # normalize (no-op) |