Skip to content
Cerus edited this page Aug 10, 2022 · 1 revision

/stdlib/math/ints.edina

Routine Visibility
int32_max 🌐 Global
int32_min 🌐 Global
int64_max 🌐 Global
int64_min 🌐 Global
negate 🌐 Global
int_to_str 🌐 Global
int_str_size 🌐 Global
_digit_one πŸ”‘ Internal
_digit_ten πŸ”‘ Internal

🌐 int32_max

Push the maximum value of a 32-bit integer onto the stack

Takes Gives
Int32 max (int)

🌐 int32_min

Push the minimum value of a 32-bit integer onto the stack

Takes Gives
Int32 min (int)

🌐 int64_max

Push the maximum value of a 64-bit integer onto the stack

Takes Gives
Int64 max (int)

🌐 int64_min

Push the minimum value of a 64-bit integer onto the stack

Takes Gives
Int64 min (int)

🌐 negate

Negate number

Takes Gives
Num (int) Negated num (int)

🌐 int_to_str

Negate number

Takes Gives
Num (int) Number converted to string (str)

🌐 int_str_size

Calculate the length that the specified int would occupy as a string

Takes Gives
Num (int) String size (int)

πŸ”‘ _digit_one


πŸ”‘ _digit_ten