real syntax broken [requires leading digit]

Bug #239046 reported by Ken Dickey
2
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

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

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.

Changed in ikarus:
assignee: nobody → aghuloum
status: New → Fix Committed
Changed in ikarus:
importance: Undecided → Medium
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.