Skip Menu |
 

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 96651
Status: new
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: pjacklam [...] online.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Math::BigFloat -> bmod() does unnecessary work
Download (untitled) / with headers
text/plain 260b
Internally, Math::BigFloat -> new("5e6") -> bmod("2e6") is computed as "5000000 mod 2000000". The code should be optimized so that the mantissas aren't made larger than strictly necessary. In the above example, this should be computed as "1000000 * (5 mod 2)".


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.