Fri3dNstuff

Results 6 issues of Fri3dNstuff

### Zig Version 0.13.0-dev.73+db890dbae ### Steps to Reproduce and Observed Behavior The following pieces of code fail `zig ast-check` (and thus compilation): ```zig fn foo() error{A} || error{A} { return...

bug

### Zig Version 0.14.0-dev.367+a57479afc ### Steps to Reproduce and Observed Behavior Attempt to compile the following code: ```zig pub fn main() void { const n: u8 align(2) = 42; const...

bug

Zig's wrapper functions over `mmap` and `munmap` abstract over the system pages' lengths: `std.posix.mmap` returns (if successful) a slice of the exact requested length (rather than error, or rounded up...

according to my tests (on an x86_64 machine, which has a `@ctz` instruction) [Stein's algorithm](https://en.wikipedia.org/wiki/Binary_GCD_algorithm) is on par with [Euclid's](https://en.wikipedia.org/wiki/Euclidean_algorithm) on small (≤ 100) random inputs, and roughly 40% faster...

This PR fixes two edge cases in the function `std.simd.suggestVectorLengthForCpu` which previously caused a compile error, namely: - a type input of length greater than 8192 bytes (reaching `unreachable`) -...

A failure to append to a `StringTable`'s `string_bytes` would cause the table to be in an invalid state, with later calls to `index` or `indexOrPut` potentially reading uninitialised memory. The...