3 ms·
I have not worked heavily with floats, but I think numerical comparison (IE, greater than/less than) produce a non-ambigous ordering. Assuming that both ends ha
by gizmo686 13y ago
I have not worked heavily with floats, but I think numerical comparison (IE, greater than/less than) produce a non-ambigous ordering. Assuming that both ends have the same set of numbers representable as floats, it should be lossless. If they do have a different set of floats, then you need to solve lossless conversions before talking about lossless compressions.
- nivertech 13y agoHow do you decide how many bits distance should be encoded in? How many bits for mantissas, sign bits? I worked with half floats (FP16) and other weird partial word float formats ... I don't think it's trivial. I guess the most straightforward way is to convert to fixed point real numbers first, then it's essentially the same as integers. Or maybe just do it per block of each 128 floats?