fixed minor bug in "->inexact" helper.
This commit is contained in:
parent
6dca996f3a
commit
1ebd4f4d9a
|
@ -1514,8 +1514,8 @@
|
||||||
[(flonum? x) x]
|
[(flonum? x) x]
|
||||||
[(compnum? x)
|
[(compnum? x)
|
||||||
(make-rectangular
|
(make-rectangular
|
||||||
(->inexact (real-part x))
|
(->inexact (real-part x) who)
|
||||||
(->inexact (imag-part x)))]
|
(->inexact (imag-part x) who))]
|
||||||
[(cflonum? x) x]
|
[(cflonum? x) x]
|
||||||
[else
|
[else
|
||||||
(die who "not a number" x)]))
|
(die who "not a number" x)]))
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1737
|
1738
|
||||||
|
|
Loading…
Reference in New Issue