projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5c6d1
)
[perl #98256] Add POD for the bsgn() method.
author
Peter John Acklam
<pjacklam@online.no>
Thu, 1 Sep 2011 21:04:05 +0000
(14:04 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 1 Sep 2011 21:13:58 +0000
(14:13 -0700)
This stops Pod::Coverage (and possibly users)
from complaining about missing documentation.
dist/Math-BigInt/lib/Math/BigInt.pm
patch
|
blob
|
history
diff --git
a/dist/Math-BigInt/lib/Math/BigInt.pm
b/dist/Math-BigInt/lib/Math/BigInt.pm
index
1d58712
..
0bb8eba
100644
(file)
--- 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)