diff options
| author | AmedeoAlf <142008331+AmedeoAlf@users.noreply.github.com> | 2025-09-01 22:44:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-01 22:44:24 +0200 |
| commit | 8bb597b9dea6bc0297df26753cff024f9f68ff5d (patch) | |
| tree | 24bcba5321805f4fb155f404f4972022756d68e6 | |
| parent | ac93021ec9345c27d912840c11499a279e91f0e2 (diff) | |
Specify %m and %M as verbs for integer formatting
| -rw-r--r-- | core/fmt/doc.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fmt/doc.odin b/core/fmt/doc.odin index d45e6c796..eeebd33f7 100644 --- a/core/fmt/doc.odin +++ b/core/fmt/doc.odin @@ -29,6 +29,8 @@ Integer: %x base 16, with lower-case letters for a-f %X base 16, with upper-case letters for A-F %U Unicode format: U+1234; same as "U+%04X" + %m number of bytes in the best unit of measurement, e.g. 123.45mib + %M number of bytes in the best unit of measurement, e.g. 123.45MiB Floating-point, complex numbers, and quaternions: %e scientific notation, e.g. -1.23456e+78 %E scientific notation, e.g. -1.23456E+78 @@ -38,8 +40,6 @@ Floating-point, complex numbers, and quaternions: %G synonym for %g %h hexadecimal (lower-case) representation with 0h prefix (0h01234abcd) %H hexadecimal (upper-case) representation with 0H prefix (0h01234ABCD) - %m number of bytes in the best unit of measurement, e.g. 123.45mib - %M number of bytes in the best unit of measurement, e.g. 123.45MiB String and slice of bytes %s the uninterpreted bytes of the string or slice %q a double-quoted string safely escaped with Odin syntax |