Skip to documentation
SLOP

tiny.simd.sub

Reference tiny.simd sub

Defined in arithmetic.

Called byCallsarithmeticmaskedSubarithmeticmaskedSubOrarithmeticmulSubarithmeticnegMulSubtest sourcelib.simd.src.arithmetictest: integer arithmetic wraps lane b...private sourcelib.simd.src.arithmeticisIntegerarithmeticsub
Static calls · unresolved targets: 0 · external targets: 0.

Source

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

zig
pub fn sub(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:279

zig
pub const sub = arithmetic.sub;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433