Skip to content

Struct i24

struct i24 simd

struct i24 { … }

Signed 24-bit integer stored in three bytes (little-endian).

variable raw

u8 raw[3]

Raw byte storage.

Fully qualified name: kfr::i24::raw

Declared at simd/types.hpp:277

constructor i24()

i24() noexcept

Default constructor leaving the value uninitialized.

Fully qualified name: kfr::i24::i24()

Declared at simd/types.hpp:280

constructor i24(i32)

i24(i32 x) noexcept

Construct from a 32-bit signed integer, truncating to 24 bits.

Fully qualified name: kfr::i24::i24(i32)

Declared at simd/types.hpp:285

function as_int()

i32 as_int() const noexcept

Reconstructs the signed 32-bit value, sign-extending from bit 23.

Returns
The value as a signed 32-bit integer.

Fully qualified name: kfr::i24::as_int()

Declared at simd/types.hpp:296

operator operator int()

operator int() const noexcept

Implicit conversion to int via as_int().

Fully qualified name: kfr::i24::operator int()

Declared at simd/types.hpp:303

Fully qualified name: kfr::i24

Declared at simd/types.hpp:274

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.