0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Richard Levitte ffcfeb919f Fix std.fmt.hex() to work with unsigned ints of all multiples of 8 bits
@SizeOf(@typeInfo(T)) for any u{n} seems to give sizes of u32, u64, u128
and so on, depending on what size x fits into.  This causes problems with
'>>' if x isn't exactly one of those sizes.

@typeInfo(@TypeOf(x)).int.bits gives a more accurate size.
History 2026-04-16 19:44:40 +02:00
..
build-web Reverts renaming of builtin.StackTrace -> ErrorReturnTrace 2026-04-12 04:01:30 -07:00
c std.os.linux: fix syscall argument width for mipsn32 and x32 2026-04-16 16:00:21 +02:00
compiler feat: init eZ80 arch via CBE 2026-04-16 19:21:16 +02:00
compiler_rt Add @exp(f128) and @exp2(f128) 2026-04-16 00:55:54 +02:00
docs Reverts renaming of builtin.StackTrace -> ErrorReturnTrace 2026-04-12 04:01:30 -07:00
include remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
init rework fuzz testing to be smith based 2026-02-13 22:12:19 -05:00
libc musl: fix syscall argument width for mipsn32 2026-04-16 16:00:18 +02:00
libcxx libcxx: use compiler's _LIBCPP_HAS_LIBRARY_ALIGNED_ALLOCATION when set 2025-11-14 02:02:59 +01:00
libcxxabi remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libtsan remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libunwind remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
std Fix std.fmt.hex() to work with unsigned ints of all multiples of 8 bits 2026-04-16 19:44:40 +02:00
c.zig libzigc: stropts/isastream 2026-04-02 15:13:39 +02:00
compiler_rt.zig stage2-wasm: start big int support 2026-04-02 15:48:43 +02:00
fuzzer.zig multiprocess fuzzing 2026-04-03 12:27:34 +02:00
ubsan_rt.zig std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
zig.h feat: init eZ80 arch via CBE 2026-04-16 19:21:16 +02:00