mirror of
https://github.com/ziglang/zig.git
synced 2026-01-02 03:25:01 +00:00
std.fmt.parseIntSizeSuffix: add R and Q
https://www.nist.gov/pml/owm/metric-si-prefixes https://www.npl.co.uk/si-prefix
This commit is contained in:
parent
cd7e2bf57a
commit
ac385bd8a6
@ -1925,6 +1925,8 @@ pub fn parseIntSizeSuffix(buf: []const u8, radix: u8) ParseIntError!usize {
|
||||
'E' => 6,
|
||||
'Z' => 7,
|
||||
'Y' => 8,
|
||||
'R' => 9,
|
||||
'Q' => 10,
|
||||
else => 0,
|
||||
};
|
||||
var without_suffix = without_i;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user