mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
This makes writing code that is generic over scalar and vector types easier. In particular, this helps when multiplying a generic argument by a constant, or passing a generic arugment alongside a scalar value to a function or builtin such as `@mulAdd`. This also has the side benefit of making the implicit splat for some binary operations as suggested by @SpexGuy in #35376 simpler to implement for inplace arithmetic operations. part of #35376 |
History
|
|
|---|---|---|
| .. | ||
| langref | ||
| build.zig.zon.md | ||
| langref.html.in | ||