Module ops

Module ops 

Source
Expand description

It’s like core::ops, but more!

Traits§

Abs
Gives the absolute value.
GetExponentBits
GetExponentValue
LdExp
“Load Exponent”: Gives x * (2**exp)
Max
Gives the maximum of two values.
Min
Gives the minimum of two values.
Truncate
Truncates a value, in other words this rounds toward zero.

Functions§

abs
Calls the abs trait method.
get_exponent_bits
get_exponent_value
ldexp
Calls the ldexp trait method.
max
Calls the max trait method.
min
Calls the min trait method.
truncate
Calls the truncate trait method.