Skip to documentation
SLOP

tiny.simd.maxNumber

Reference tiny.simd maxNumber

Defined in arithmetic.

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

Source

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

zig
pub fn maxNumber(comptime D: type, a: D.Vector, b: D.Vector) D.Vector {    if (comptime @typeInfo(D.Lane) != .float) return max(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, max(D, a, b)),    );}

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

zig
pub const maxNumber = arithmetic.maxNumber;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433