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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user