numerical procedures raise incorrect message
Bug #388821 reported by
Derick Eddington
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Low
|
Abdulaziz Ghuloum |
Bug Description
Ikarus Scheme version 0.0.4-rc1+ (revision 1806, build 2009-06-09)
Copyright (c) 2006-2009 Abdulaziz Ghuloum
> (number? 4-7i)
#t
> (abs 4-7i)
Unhandled exception
Condition components:
1. &assertion
2. &who: abs
3. &message: "not a number"
4. &irritants: (4-7i)
> (negative? 4-7i)
Unhandled exception
Condition components:
1. &assertion
2. &who: negative?
3. &message: "not a number"
4. &irritants: (4-7i)
>
R6RS says these procedures take a real, so I'd say the message should be "not a real".
I did not check if there are more such incorrect messages for other numerical procedures.
Related branches
summary: |
- abs raises incorrect message + numerical procedures raise incorrect message |
description: | updated |
To post a comment you must log in.
Fixed in 1839. positive? as well.