develooper Front page | perl.perl5.porters | Postings from August 2013

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

Thread Previous | Thread Next
Tony Cook via RT
August 15, 2013 04:21
[perl #85296] [PATCH] Add bint() method for rounding towards zero.
Message ID:
On Sun Jun 12 14:00:37 2011, sprout wrote:
> 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?

I've attached a clean patch that applies on top of my change from 86686.

I'll apply it in a few days unless someone objects.


via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About