pub fn Number(comptime T: type) type exponent: i64mantissa: mantissaType(T)negative: boolmany_digits: boolMore than max_mantissa digits were found during parse
hex: boolThe number was a hex-float (e.g. 0x1.234p567)
59
60
61
62
63
64
65
66
67
68
69pub fn Number(comptime T: type) type {
return struct {
exponent: i64,
mantissa: mantissaType(T),
negative: bool,
/// More than max_mantissa digits were found during parse
many_digits: bool,
/// The number was a hex-float (e.g. 0x1.234p567)
hex: bool,
};
}
Represents a parsed floating point value as its components.