1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-17 16:57:40 +00:00

Update number representation so that wrapping numbers isn't

doesn't need to check for NaNs. Change ordering of types.
This commit is contained in:
Calvin Rose
2018-12-30 12:37:50 -05:00
parent ca9c017ec4
commit d724c5b959
7 changed files with 29 additions and 39 deletions

View File

@@ -37,9 +37,9 @@
(assert (= 7 (% 20 13)) "modulo 1")
(assert (= -7 (% -20 13)) "modulo 2")
(assert (order< nil false true
(assert (order< 1.0 nil false true
(fiber/new (fn [] 1))
1.0 "hi"
"hi"
(quote hello)
(array 1 2 3)
(tuple 1 2 3)