Skip to documentation
SLOP

tiny.simd.div

Reference tiny.simd div

Defined in arithmetic.

Called byCallsarithmeticmaskedDivarithmeticmaskedDivOrtest sourcelib.simd.src.arithmetictest: Highway absolute difference and...test sourcelib.simd.src.arithmetictest: Highway absolute saturating div...private sourcelib.simd.src.arithmeticrequireIntegerprivate sourcelib.simd.src.arithmeticsafeDivLanearithmeticdiv
Static calls · unresolved targets: 0 · external targets: 0.

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

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433