Enum std::num::FPCategory
pub enum FPCategory { FPNaN, FPInfinite, FPZero, FPSubnormal, FPNormal, }
Used for representing the classification of floating point numbers
Variants
FPNaN | "Not a Number", often obtained by dividing by zero |
FPInfinite | Positive or negative infinity |
FPZero | Positive or negative zero |
FPSubnormal | De-normalized floating point representation (less precise than |
FPNormal | A regular floating point number |