Skip to documentation
SLOP

tiny.simd.mulSub

Reference tiny.simd mulSub

Defined in arithmetic.

Called byCallsarithmeticmaskedMulSubarithmeticmaskedMulSubOrarithmeticmulAddSubarithmeticmulSubAddprivate sourcelib.simd.src.arithmeticisIntegerarithmeticmularithmeticsubarithmeticmulSub
Static calls · unresolved targets: 0 · external targets: 0.

Source

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

zig
pub fn mulSub(    comptime D: type,    multiplicand: D.Vector,    multiplier: D.Vector,    subtrahend: D.Vector,) D.Vector {    if (comptime isInteger(D.Lane)) {        return sub(D, mul(D, multiplicand, multiplier), subtrahend);    }    return @mulAdd(D.Vector, multiplicand, multiplier, -subtrahend);}

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

zig
pub const mulSub = arithmetic.mulSub;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433