Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prado Utility TBitHelper for bit mirroring, reversing endian, color b…
…it shift, half float and mini float support (#914) * #904 TBitHelper Utility class for dealing with bits and endian - Bit Mirroring - endian flipping - color bit shift - unsigned right bit shift - has LongLong - # bits needed (given a number, how many bits is needed to represent it) - checking System Endian - negative zero float checking - check for floats as negative including -0. - check for -0 specifically. - converting float to half float and mini float (Fp16, Bf16, Fp8-e5m2, and Fp8-e4m3 are supported directly). General utility function for taking a float and outputting an arbitrary exponent and mantissa. * Error messages. * Reordered a reordering.
- Loading branch information