Skip to documentation
SLOP

tiny.simd.minNumber

Reference tiny.simd minNumber

Defined in arithmetic.

Called byCallstest sourcelib.simd.src.arithmetictest: Highway number and magnitude ex...arithmeticminarithmeticminNumber
Static calls · unresolved targets: 0 · external targets: 0.

Source

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

zig
pub fn minNumber(comptime D: type, a: D.Vector, b: D.Vector) D.Vector {    if (comptime @typeInfo(D.Lane) != .float) return min(D, a, b);    const a_nan = a != a;    const b_nan = b != b;    return @select(        D.Lane,        a_nan,        b,        @select(D.Lane, b_nan, a, min(D, a, b)),    );}

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

zig
pub const minNumber = arithmetic.minNumber;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433