Skip to documentation
SLOP

tiny.simd.add

Reference tiny.simd add

Defined in arithmetic.

Called byCallsarithmeticmaskedAddarithmeticmaskedAddOrarithmeticmulAddarithmeticnegMulAddtest sourcelib.simd.src.arithmetictest: floating arithmetic and clamp r...test sourcelib.simd.src.arithmetictest: integer arithmetic wraps lane b...private sourcelib.simd.src.arithmeticisIntegerarithmeticadd
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/arithmetic.zig:3

zig
pub fn add(comptime D: type, a: D.Vector, b: D.Vector) D.Vector {    return if (comptime isInteger(D.Lane)) a +% b else a + b;}

Source: lib/simd/src/root.zig:278

zig
pub const add = arithmetic.add;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433