Crate math_library

Crate math_library 

Source

Functionsยง

add
Adds two 32-bit float numbers and returns the result as a 32-bit float
div
Divides two 32-bit float numbers and returns the result as a 32-bit float
fact
Calculates the factorial of an unsigned 32-bit integer and returns the result as an unsigned 32-bit integer
mult
Multiplies two 32-bit float numbers and returns the result as a 32-bit float
pow
Raises a 32-bit float number to the power of an unsigned 32-bit integer and returns the result as a 32-bit float
rem
Calculates the remainder of the division of two 32-bit float numbers and returns the result as a 32-bit float
sub
Subtracts two 32-bit float numbers and returns the result as a 32-bit float