Skip to documentation
SLOP

tiny.simd.MakeUnsigned

Reference tiny.simd MakeUnsigned

Defined in tag.

Called byCallstest sourcelib.simd.src.bfloattest: Highway bfloat16 descriptors pr...tagRebindToUnsignedtest sourcelib.simd.src.tagtest: Highway lane type relations cov...private sourcelib.simd.src.tagisBFloat16tagMakeUnsigned
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/tag.zig:224

zig
pub fn MakeUnsigned(comptime T: type) type {    if (isBFloat16(T)) return u16;    return switch (@typeInfo(T)) {        .int => |info| switch (info.bits) {            8, 16, 32, 64, 128 => @Int(.unsigned, info.bits),            else => @compileError("unsupported Highway integer width"),        },        .float => |info| switch (info.bits) {            16 => u16,            32 => u32,            64 => u64,            else => @compileError("unsupported Highway floating-point width"),        },        else => @compileError("type has no Highway unsigned relation"),    };}

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

zig
pub const MakeUnsigned = tag.MakeUnsigned;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433