Skip Menu | will be shut down on March 1st, 2021.

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

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

Owner: Nobody in particular
Requestors: peter.john.acklam [...]

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 infrastructure.

Please report any issues with to