Trait malachite_base::num::basic::traits::NegativeInfinity

source ·
pub trait NegativeInfinity {
    const NEGATIVE_INFINITY: Self;
}
Expand description

Provides the constant -Infinity.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NegativeInfinity for f32

The constant -Infinity for primitive floating-point types.

source§

const NEGATIVE_INFINITY: f32 = -Inf_f32

source§

impl NegativeInfinity for f64

The constant -Infinity for primitive floating-point types.

source§

const NEGATIVE_INFINITY: f64 = -Inf_f64

Implementors§