You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
f-string {x:x}/{x:02x} on a u8 >= 0x80 prints it sign-extended (ffffffffffffffba) #1907
Decimal {b} is right, so the hex path widens an unsigned byte as signed before formatting. Found while printing a SHA-256 digest (every byte >= 0x80 came out as 16 hex digits).
Fixed on main by 3044b9c (stack #1979, battery green on 029574d). Narrow ints carry Sema's bit width to the hex/binary/octal formatter on both the buffered and the spec path; u8..u32, i8..i64 under x/02x/#x/b/o/X.
Activity
A narrow integer under a hex, binary or octal spec prints its own bit…
A narrow integer under a hex, binary or octal spec prints its own bit…
Runtime/Windows/fs: remove_tree trailing-slash link (#1951); VecRange…
ehartford commentedon Oct 3, 2026
Fixed on main by 3044b9c (stack #1979, battery green on 029574d). Narrow ints carry Sema's bit width to the hex/binary/octal formatter on both the buffered and the spec path; u8..u32, i8..i64 under x/02x/#x/b/o/X.