modulo produces "BUG: unsupported"

Bug #160101 reported by Michael D. Adams on 2007-11-05
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Critical
Abdulaziz Ghuloum

Bug Description

It seems that the modulo function breaks on large values. I found this while writing the "fasta" benchmark for the shootout. (I'm not sure yet whether I can work around it.)

> (modulo 540000000 2)
Unhandled exception
 Condition components:
   1. &error
   2. &who: modulo
   3. &message: "BUG: unsupported"
   4. &irritants: (540000000)

Abdulaziz Ghuloum (aghuloum) wrote :

Revision 984 fixes some parts of this bug.
Modulo of two bignum arguments still gives an error.
Will fix later.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Critical
status: New → In Progress
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 987.

Changed in ikarus:
status: In Progress → Fix Committed
Abdulaziz Ghuloum (aghuloum) wrote :

This bug report is about to be closed as the fix comitted previously
will be incorporated in the next 0.0.2 release of Ikarus Scheme,
scheduled for November 28, 2007.
A release candidate tarball is available for download from:
  http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-0.0.2-rc1.tar.gz
Please do test it if you have the time and report any issues you
might encounter. Thank you very much for your support. Aziz,,,
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.2
Changed in ikarus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers