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

This commit is contained in:
2026-05-09 04:19:51 +00:00
parent 141795449a
commit 9bf4bd6180
2 changed files with 3 additions and 0 deletions

View File

@@ -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