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: peter.john.acklam [...] gmail.com
Cc:
AdminCc:

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



Subject: Math::BigFloat -> bmod() does unnecessary work
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)".