string->number only radix 10 is supported
Bug #233898 reported by
Derick Eddington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
I learned I can prefix the string with a radix, so I don't need this immediately, but thought I should report it because it seems like it's already ready to support the other radices.
Ikarus Scheme version 0.0.3+ (revision 1486, build 2008-05-21)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (string->number "#xf")
15
> (string->number "#o77")
63
> (string->number "#b101")
5
> (string->number "f" 16)
Unhandled exception
Condition components:
1. &assertion
2. &who: string->number
3. &message: "BUG: only radix 10 is supported"
4. &irritants: ("f" 16)
>
Changed in ikarus: | |
milestone: | none → 0.0.4 |
To post a comment you must log in.
I'm in the process of rewriting this procedure to support complex numbers. This was going to be done in the process.