Trait malachite_base::num::basic::traits::NegativeOne
source · pub trait NegativeOne {
const NEGATIVE_ONE: Self;
}Expand description
Provides the constant -1.
Required Associated Constants§
const NEGATIVE_ONE: Self
Implementations on Foreign Types§
source§impl NegativeOne for f32
impl NegativeOne for f32
The constant -1.0 for primitive floating-point types.
const NEGATIVE_ONE: f32 = -1f32
source§impl NegativeOne for f64
impl NegativeOne for f64
The constant -1.0 for primitive floating-point types.