DoxigAlpha

FloatDecimal

Fields of this type

Fields

#
mantissa:T
exponent:i32
sign:bool

Source

Implementation

#
pub fn FloatDecimal(comptime T: type) type {
    comptime std.debug.assert(T == u64 or T == u128);
    return struct {
        mantissa: T,
        exponent: i32,
        sign: bool,
    };
}