Module math

Module math 

Source
Expand description

Math utils

Macros§

checked
Redefines variables as Checked.

Structs§

Checked
Container for safe integers operators

Enums§

MathError

Traits§

SafeAdd
Same as checked_add functions but returns an error
SafeDiv
Same as checked_dev functions but returns an error
SafeMul
Same as checked_mul functions but returns an error
SafeNeg
Same as checked_neg functions but returns an error
SafeSub
Same as checked_sub functions but returns an error
ToI16
ToI32
ToI64
ToU8
ToU16
ToU32
ToU64
ToUsize

Functions§

apex_to_f_number
Converts and APEX value to an F-Number