js-on-sx: js-to-number coerces SX rationals via exact->inexact
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 34s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 34s
This commit is contained in:
@@ -1365,6 +1365,7 @@
|
||||
((= v true) 1)
|
||||
((= v false) 0)
|
||||
((= (type-of v) "number") v)
|
||||
((= (type-of v) "rational") (exact->inexact v))
|
||||
((= (type-of v) "string") (js-string-to-number v))
|
||||
((= (type-of v) "dict")
|
||||
(cond
|
||||
|
||||
Reference in New Issue
Block a user