tiny.simd.div
Defined in arithmetic.
Source
Source: lib/simd/src/arithmetic.zig:106
zig
pub fn div(comptime D: type, a: D.Vector, b: D.Vector) D.Vector { if (comptime @typeInfo(D.Lane) == .float) return a / b; requireInteger(D.Lane, "div"); var result: D.Vector = undefined; inline for (0..D.lane_count) |index| { result[index] = safeDivLane(D.Lane, a[index], b[index]); } return result;}Source: lib/simd/src/root.zig:289
zig
pub const div = arithmetic.div;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |