Trait malachite_base::num::basic::traits::NegativeZero
source · pub trait NegativeZero {
const NEGATIVE_ZERO: Self;
}
Expand description
Provides the constant -0.
Required Associated Constants§
const NEGATIVE_ZERO: Self
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl NegativeZero for f32
impl NegativeZero for f32
The constant -0.0 for primitive floating-point types.
const NEGATIVE_ZERO: f32 = -0f32
source§impl NegativeZero for f64
impl NegativeZero for f64
The constant -0.0 for primitive floating-point types.