modulo produces "BUG: unsupported"
Bug #160101 reported by
Michael D. Adams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
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)
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Revision 984 fixes some parts of this bug.
Modulo of two bignum arguments still gives an error.
Will fix later.