diff options
-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) |