Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: Version 6.0
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      134

      Description

      I've found another bug in modInverse:
      LargeInteger.valueOf(-1).modInverse(LargeInteger.valueOf("9876543212345678985432123456789876543210"))
      returns 1. Unfortunately I do not really understand the implementation. If you write
      LargeInteger a = this.mod(m);
      instead of
      LargeInteger a = this;
      this is fixed, but this is probably not the best way.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jscience-issues
            Reporter:
            hstoerr
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: