Module arith

Module arith 

Source
Expand description

Arithmetic operators.

Enumsยง

NumberValue ๐Ÿ”’
Similar to the object type NumberType, but contains a float instead of a reference to a float. This makes it easier to construct and mutate.

Constantsยง

MAX_FIXNUM ๐Ÿ”’
MIN_FIXNUM ๐Ÿ”’

Functionsยง

add ๐Ÿ”’
add_one ๐Ÿ”’
arith ๐Ÿ”’
cmp ๐Ÿ”’
div ๐Ÿ”’
greater_than ๐Ÿ”’
greater_than_or_eq ๐Ÿ”’
less_than ๐Ÿ”’
less_than_or_eq ๐Ÿ”’
logand ๐Ÿ”’
logior ๐Ÿ”’
max ๐Ÿ”’
max_val ๐Ÿ”’
min ๐Ÿ”’
min_val ๐Ÿ”’
modulo ๐Ÿ”’
mul ๐Ÿ”’
num_eq ๐Ÿ”’
num_ne ๐Ÿ”’
remainder ๐Ÿ”’
sub ๐Ÿ”’
sub_one ๐Ÿ”’