2 ms·
I think even with these operations, it's more intuitive to a programmer to just try all the bit patterns using f32::from_bits on integers especially if they are
by tialaramex 2y ago
I think even with these operations, it's more intuitive to a programmer to just try all the bit patterns using f32::from_bits on integers especially if they aren't already deeply familiar with how the IEEE representation works, which seems like a pre-requisite for this experiment.
- deleted 2y ago[deleted]
- lostmsu 2y agoIf you use f16 or f8, you could even reasonably plot the result.
- tialaramex 2y agoRust doesn't provide an f8 type, and it only provides f16 in nightly builds for now. I don't see additional value in "plotting the result" for f16 over f32. 65536 values is too many to understand it other than as a pattern, and the patterns is present in f32. Can you elaborate ?