Wrong error message for (mod 3.0 3)
Bug #173042 reported by
Michael D. Adams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
First I'm not sure whether this should even be throwing an error (I presume it should). Second, the error message is completely opaque: it should be from mod not quotient+remainder and claiming 1/2251799813685248 is "not a number" is bogus.
> (mod 3.0 3)
Unhandled exception
Condition components:
1. &error
2. &who: quotient+remainder
3. &message: "not a number"
4. &irritants: (1/225179981368
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
div, mod, div-and-mod, div0, mod0, div0-and-mod0 are all generic: they work on all types of numbers. Fun continues.