Skip to content

Syncing with recent Math-BigInt #118

@pjacklam

Description

@pjacklam

There are changes to the Math-BigInt distribution that affects the CryptX distribution and causes a few tests to fail when CryptX is tested with the most recent Math-BigInt distribution installed.

  • I noticed that Math::BigFloat->bdiv(), when called in list context, does floored division, except when the denominator is 1. This inconsistency has been removed, so that in list context, Math::BigFloat->bdiv() always does floored division. This change causes 4 tests to fail in t/mbi_ltm_bigfltpm.t.

  • For my own convenience, I added an _scmp() method to the backend library. This method does signed comparison, c.f. _acmp() which compares absolute values and ignores the signs. I cannot see that this change causes any tests to fail, but I wanted to inform you anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions