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

[perl #85296] [PATCH] Add bint() method for rounding towards zero.

Thread Next
From:
Father Chrysostomos via RT
Date:
June 12, 2011 14:00
Subject:
[perl #85296] [PATCH] Add bint() method for rounding towards zero.
Message ID:
rt-3.6.HEAD-16080-1307912437-563.85296-15-0@perl.org
On Wed Mar 02 11:18:41 2011, pjacklam wrote:
> Since bfloor() and bceil() exist, add bint() for completeness.  As
> with
> bfloor() and bceil(), bint() does not change the object class. This is
> unlike as_int(), which converts the object to a Math::BigInt.
> 
> Rename bint() subroutine in the example section to bigint() to avoid
> confusion with the new method bint().
> 
> Add tests for bint().
> 
> Add a little more precise documentation of bfloor() and bceil().

I could not apply this because of conflicts. Is there any chance you
could resolve those against the latest blead, or was this patch
superseded by another one I applied?

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