pub enum Class {
SignalingNan,
QuietNan,
NegInfinity,
NegNormal,
NegSubnormal,
NegZero,
PosZero,
PosSubnormal,
PosNormal,
PosInfinity,
}
Expand description
The class of a decimal number.
These classes are precisely defined in The Arithmetic Model chapter of the General Decimal Arithmetic specification.
Variants
SignalingNan
Signaling NaN (“Not a Number”).
QuietNan
Quiet NaN (“Not a Number”).
NegInfinity
Negative infinity.
NegNormal
Negative normal.
NegSubnormal
Negative subnormal.
NegZero
Negative zero.
PosZero
Positive zero.
PosSubnormal
Positive subnormal.
PosNormal
Positive normal.
PosInfinity
Positive infinity.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Class
impl UnwindSafe for Class
Blanket Implementations
Mutably borrows from an owned value. Read more