real syntax broken [requires leading digit]
Bug #239046 reported by
Ken Dickey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
Ikarus Scheme version 0.0.3+ (revision 1510, build 2008-06-10)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (string->number "0.8")
(string->number "0.8")
0.8
> (string->number ".8")
(string->number ".8")
0.8
> .8
.8
Unhandled exception
Condition components:
1. &assertion
2. &who: *
3. &message: "not a number"
4. &irritants: (#f)
> ;; .8 ;; <<--used to work just fine
Related branches
Changed in ikarus: | |
importance: | Undecided → Medium |
milestone: | none → 0.0.4 |
To post a comment you must log in.
Fixed in 1513. I refactored all the numeric parsing routines when I added complex numbers, so, I may have left a few things unchecked. Thanks for the report. (at least now I know you're still around :-))
PS. Thanks for the link to Baker paper--it made implementing the basic complex numbers much easier.