PTWM
transforms

ptwm_core::transforms::bit_reorder_ieee

BitReorderIeee16 and BitReorderIeee32 ops — rearrange IEEE-754 float bits so the exponent occupies the most-significant position, improving entropy coding.

ptwm_core::transforms::bit_reorder_ieee

BitReorderIeee16 and BitReorderIeee32 ops — rearrange IEEE-754 float bits so the exponent occupies the most-significant position, improving entropy coding.

rsmod

ptwm_core::transforms::bit_reorder_ieee

crates/ptwm-core/src/transforms/bit_reorder_ieee.rs:1
mod bit_reorder_ieee

`BitReorderIeee16` and `BitReorderIeee32` ops — rearrange IEEE-754 float bits so the exponent occupies the most-significant position, improving entropy coding.

The transforms are lifted verbatim from `crates/ptwm-core/src/split/dtype16.rs` and `crates/ptwm-core/src/split/dtype32.rs`.
rstype

ptwm_core::transforms::bit_reorder_ieee::BitReorderIeee16

crates/ptwm-core/src/transforms/bit_reorder_ieee.rs:25
pub struct BitReorderIeee16;

Reorder IEEE-754 16-bit float bits in-place so the exponent comes first.

Operates on BF16 or FP16 data (`ElementWidth::Word2`). The input buffer must have an even number of bytes. The output descriptor is identical to the input descriptor. Algorithm: lifts `dtype16::reorder_all_floats_dtype16` / `revert_all_floats_dtype16`.
rstype

ptwm_core::transforms::bit_reorder_ieee::BitReorderIeee32

crates/ptwm-core/src/transforms/bit_reorder_ieee.rs:107
pub struct BitReorderIeee32;

Reorder IEEE-754 32-bit float bits in-place so the exponent comes first.

Operates on FP32 data (`ElementWidth::Word4`). The input buffer must have a length divisible by 4. The output descriptor is identical to the input descriptor. Algorithm: lifts `dtype32::reorder_all_floats_dtype32` / `revert_all_floats_dtype32`.