19[[nodiscard]] MAYAFLUX_API uint32_t
to_word(
double value, uint32_t bits)
noexcept;
25[[nodiscard]] MAYAFLUX_API
double from_word(uint32_t word, uint32_t bits)
noexcept;
double from_word(uint32_t word, uint32_t bits) noexcept
The value of an offset binary word; bits above the width are ignored.
uint32_t to_word(double value, uint32_t bits) noexcept
The offset binary word of a value, clamped to [-1, 1].