Tau
Tau
This proposal is fairly similar to C's `tm` from `time.h`. Are there any guidelines as to what should be in zig's std library?
@RogierBrussee DateTime would be used for human-readable displaying, is there any use-case for nanoseconds there? How would you modify the proposal? > Why not just add convenience accessor functions to...
You need to compile the definitions, one way or another. In a C project that means a `#define TB_IMPL` in one source file; for other languages you will need to...
Sorry, I completely missed that! Yeah, translate-c currently generates invalid code: ``` /home/tau/.cache/zig/o/.../cimport.zig:4752:119: error: use of undeclared identifier 'tmp_1' const tmp_1 = load_terminfo_from_path(@ptrCast([*c]u8, @alignCast(@import("std").meta.alignment([*c]u8), &tmp_1)), term); ``` Interesting. I'll investigate.
Creduce'd it down to: ```c void e() { int d; int tmp; (d = tmp); } ``` which gets turned into ```zig pub export fn e() void { var d:...
> Shouldn't you know what type you are expecting to find? I don't think the types involved are relevant here; Zig has a strong type system, and the concern of...
Duplicate of #14334.
If this is not just about bit-packing, but merging arbitrary value ranges, then extracting the original values would not be a matter of a simple shift and mask, but a...
Can reproduce on 0.13.0, seems to be fixed on latest master.
To mirror my comment in #17851: We can remove the user burden of calling rehash manually by requiring any adapter context to have an additional `hashStored` function capable of hashing...