develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #98256] [PATCH] Add POD for bsgn() method.

Thread Next
From:
Father Chrysostomos via RT
Date:
September 1, 2011 14:17
Subject:
[perl #98256] [PATCH] Add POD for bsgn() method.
Message ID:
rt-3.6.HEAD-31297-1314911857-781.98256-15-0@perl.org
On Thu Sep 01 13:00:10 2011, pjacklam wrote:
> Add POD for the bsgn() method. This stops Pod::Coverage (and possibly
> users) from complaining about missing documentation.
> ---
>  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 3da16de..6921fa9 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)

Thank you.  Applied as ad66d0c9a62.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About