Esc

scalar_bits

procedureextensionsince 0.36.1Source
  • macOS: scalar_bits works on macOS
  • Linux: scalar_bits works on Linux
  • Windows: scalar_bits works on Windows
  • Wasm: scalar_bits works on Wasm

Maps a scalar value to its unsigned wire bits; kind is specialized at compile time.

Signature

scalar_bits :: (value: $T, $kind: Scalar) -> u64

See also