xitomatl:fmt:num complex reversal
Bug #375472 reported by
Ken Dickey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scheme Libraries |
Fix Released
|
Low
|
Derick Eddington |
Bug Description
> (sqrt -3.8)
0.0+1.949358868
> (fmt #f (num (sqrt -3.8) 10 5))
"1.94936+00000i"
> (fmt #f (num (sqrt -3.8) 10 4))
"1.9494+0000i"
> (fmt #f (num (sqrt -3.8) 10 3))
"1.949+000i"\
Note also the number of zeros, above.
To post a comment you must log in.
Ken told me he's already informed Alex Shinn of this. It definitely looks like a bug. I'll wait to hear what Alex says. Also, (xitomatl fmt) is at version 0.5 but there is a new 0.6 which might fix this. I'll know after I update to the new version.