rationalize broken
Bug #191116 reported by
Ken Dickey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
>> larceny
Larceny v0.961 "Fluoridation" (Jan 2 2008 08:01:50, precise:
larceny.heap, built on Wed Jan 2 08:11:02 EST 2008
> (rationalize 1.2345678 0.001)
1.2352941176470589
> (exit)
>> gsi
Gambit v4.1.2
> (rationalize 1.2345678 0.001)
1.2352941176470589
> (exit)
>> ikarus
Ikarus Scheme version 0.0.3+ (revision 1378, build 2008-02-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (rationalize 1.2345678 0.001)
Unhandled exception
Condition components:
1. &assertion
2. &who: quotient+remainder
3. &message: "not a number"
4. &irritants: (1/8)
> (exit)
Changed in ikarus: | |
milestone: | none → 0.0.4 |
To post a comment you must log in.
Note that Alan Bawden's rationalize code in SLIB works in Ikarus (as does the version of Alan's code from the Larceny runtime).