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

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

Thread Next
Father Chrysostomos via RT
June 12, 2011 14:00
[perl #85296] [PATCH] Add bint() method for rounding towards zero.
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About