Expand description
Suiron’s arithmetic functions: add, subtract, multiply, divide.
The functions defined in this module support Suiron’s built-in
arithmetic functions.
They are called from
unify_sfunction()
in built_in_functions.rs.
Enums§
- SNumber
- In Suiron, a number can be an SInteger (i64) or an SFloat (f64).
Functions§
- evaluate_
add - Add arguments together.
- evaluate_
divide - Divide the first argument by the following arguments.
- evaluate_
multiply - Multiply arguments together.
- evaluate_
subtract - Subtract arguments from the first argument in a list.