News for hackers. Stuff that matters.
Re:C++ proposal: There are 8 bits in a byte by conradev on Thursday October 17, 2024 @11:46PM (#41876173)
I was curious about float16, and TIL that the 2008 revision of the standard includes it as an interchange format:

https://en.wikipedia.org/wiki/IEEE_754-2008_revision

Re:C++ proposal: There are 8 bits in a byte by tialaramex on Friday October 18, 2024 @05:27AM (#41877684)
Note that this type (which Rust will/ does in nightly call "f16" and a C-like language would probably name "half") is not the only popular 16-bit floating point type, as some people want to have https://en.wikipedia.org/wiki/Bfloat16_floating-point_format
Re:C++ proposal: There are 8 bits in a byte by adrian_b on Saturday October 19, 2024 @03:23AM (#41886241)
The IEEE FP16 format is what is useful in graphics applications, e.g. for storing color values.

The Google BF16 format is useful strictly only for machine learning/AI applications, because its low precision is insufficient for anything else. BF16 has very low precision, but an exponent range equal to FP32, which makes overflows and underflows less likely.