Some complex numbers' lexical syntax rejected
Bug #305832 reported by
Derick Eddington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Low
|
Abdulaziz Ghuloum |
Bug Description
Ikarus Scheme version 0.0.3+ (revision 1700, build 2008-12-06)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> +.234e4i
Unhandled exception
Condition components:
1. &lexical
2. &message: "invalid numeric sequence"
3. &irritants: ("+.234e4i")
4. &lexical-position:
file-name: *stdin*
character: 7
> +.234e-5i
Unhandled exception
Condition components:
1. &lexical
2. &message: "invalid numeric sequence"
3. &irritants: ("+.234e-5i")
4. &lexical-position:
file-name: *stdin*
character: 17
> +.234i
0.0+0.234i
> +.234e-5
2.34e-6
> +.234e-5+i
2.34e-6+1.0i
>
I didn't check all the permutations. I don't need this right now. I just noticed.
Related branches
Changed in ikarus: | |
importance: | Undecided → Low |
Changed in ikarus: | |
milestone: | none → 0.0.4 |
To post a comment you must log in.
Fixed in 1707. I didn't check all permutations either and would just fix them if they crop up. (too much of a hassle now for maybe too little benefit)