Module num_traits::sign
source ยท Macrosยง
- empty_
trait_ ๐impl - signed_
float_ ๐impl - signed_
impl ๐
Traitsยง
- Useful functions for signed numbers (i.e. numbers that can be negative).
- A trait for values which cannot be negative
Functionsยง
- Computes the absolute value.
- The positive difference of two numbers.
- Returns the sign of the number.