Index Mathematics Conjectures nbv lettuce Widgets

u32_bits_static

stdlib/bits/u32_bits_static.nbv

u32_bits_static(static x)

32 little-endian bits of a static value, which must be below the field characteristic. Assembled from 16-bit halves, so it works in fields narrower than 32 bits.

Calls
bits/to_bits_exact_static
Precompiles
concat!, div_floor!, modulo!
Used by
blake3/blake3_core, typed/typed_lex_chacha

Source

# 32 little-endian bits of a static value, which must be below the field
# characteristic. Assembled from 16-bit halves, so it works in fields
# narrower than 32 bits.
(static x)

concat! to_bits_exact_static((modulo! x, 65536), 16), to_bits_exact_static((div_floor! x, 65536), 16)