After the page loaded, I tried to use a two finger scroll on my laptop, at which point some graph on the page began scaling itself instead of the page scrolling.
better than half precision, but will still burn you is the FLOAT type in MySQL. It's single precision, not double precision, which is expected these days in floats.
> double precision, which is expected these days in floats.
Some people will expect it to be double precision (e.g. Python programmers) whereas others will expect it to be single precision (e.g. C/C++ programmers).
Which f16? For GPUs I know of three format-different fp’s used in common practice. For f32 there’s (generally) two format compatible, semantic diverging variants. And that doesn’t even take into account sub-behaviors of “standard” IEEE-754.
fair enough, but I guess we can agree then that "float" is a vague term. And when a term is vague, it's probably best to default to the least likely to do damage actual definition.
Cool! That first visualization is a nicer version of one I made in the past to show the distribution of half-precision floating point values. Mine color codes the density of values in subintervals rather than by their category: https://www.pseudorandom.com/implementing-exp#section-3
I'm not usually a fan of interactive plots but I think the one in this article works. It's cool to hover over individual areas and see the significand, exponent and sign bit listed for different values.
9 comments
[ 3.5 ms ] story [ 26.4 ms ] threadhttps://dev.mysql.com/doc/refman/8.0/en/floating-point-types...
Some people will expect it to be double precision (e.g. Python programmers) whereas others will expect it to be single precision (e.g. C/C++ programmers).
I'm not usually a fan of interactive plots but I think the one in this article works. It's cool to hover over individual areas and see the significand, exponent and sign bit listed for different values.