Trait FloatPrimitive
pub unsafe trait FloatPrimitive: Sized + Copy
Built-in float types (f16, f32, f64 and f128).
Safety
Must actually be such a type.
Associated Types
type UInt: BitOr<Output = Self::UInt> + BitAnd<Output = Self::UInt> + Not<Output = Self::UInt>;
Associated Constants
const SIGN_MASK: Self::UInt;
Required Methods
fn to_bits(self) -> Self::UIntfn from_bits(bits: Self::UInt) -> Self
Implementors
impl FloatPrimitive for f128impl FloatPrimitive for f16impl FloatPrimitive for f32impl FloatPrimitive for f64