tiny.simd.minNumber
Defined in arithmetic.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |