mirror of
https://github.com/janet-lang/janet
synced 2025-12-13 12:08:07 +00:00
Add mod function to core.
The `mod` function is a pair function with `%`, or te remainder function and is distinct from it. This is taken from common lisp.
This commit is contained in:
@@ -1024,6 +1024,8 @@ enum JanetOpCode {
|
||||
JOP_MULTIPLY,
|
||||
JOP_DIVIDE_IMMEDIATE,
|
||||
JOP_DIVIDE,
|
||||
JOP_MODULO,
|
||||
JOP_REMAINDER,
|
||||
JOP_BAND,
|
||||
JOP_BOR,
|
||||
JOP_BXOR,
|
||||
|
||||
Reference in New Issue
Block a user