Trait malachite_base::num::basic::traits::NegativeZero

source ·
pub trait NegativeZero {
    const NEGATIVE_ZERO: Self;
}
Expand description

Provides the constant -0.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NegativeZero for f32

The constant -0.0 for primitive floating-point types.

source§

const NEGATIVE_ZERO: f32 = -0f32

source§

impl NegativeZero for f64

The constant -0.0 for primitive floating-point types.

source§

const NEGATIVE_ZERO: f64 = -0f64

Implementors§