Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


If you use f16 or f8, you could even reasonably plot the result.


Rust 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 ?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: