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.