Skip to documentation
SLOP

tiny.simd.nearestInt

Reference tiny.simd nearestInt

Defined in convert.

Called byCallstest sourcelib.simd.src.converttest: Highway conversion entry points...test sourcelib.simd.src.converttest: Highway float widening narrowin...private sourcelib.simd.src.convertroundEvenToIntprivate sourcelib.simd.src.convertvalidateSameWidthFloatToSignedconvertnearestInt
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/convert.zig:31

zig
pub fn nearestInt(comptime D: type, value: anytype) D.Vector {    validateSameWidthFloatToSigned(D, @TypeOf(value));    return roundEvenToInt(D, value);}

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

zig
pub const nearestInt = convert.nearestInt;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433