authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-10 07:46:58-07:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-05-10 20:11:18+03:00
logac385bd8a6bc79c7d7bd3a568dde5002ebb34e08
tree5b2d26044944462af30baee00f6cc8d74be3b944
parentcd7e2bf57a4da6965df9a2d8662a9b95f63cf595

std.fmt.parseIntSizeSuffix: add R and Q

https://www.nist.gov/pml/owm/metric-si-prefixes https://www.npl.co.uk/si-prefix

1 files changed, 2 insertions(+), 0 deletions(-)

lib/std/fmt.zig+2
......@@ -1925,6 +1925,8 @@ pub fn parseIntSizeSuffix(buf: []const u8, radix: u8) ParseIntError!usize {
19251925 'E' => 6,
19261926 'Z' => 7,
19271927 'Y' => 8,
1928 'R' => 9,
1929 'Q' => 10,
19281930 else => 0,
19291931 };
19301932 var without_suffix = without_i;