News for hackers. Stuff that matters.
Re:Float Toy by evanjonr on Wednesday January 22, 2020 @04:53PM (#22122451)
A similar probably more well presented site: https://float.exposed/0x40490fdb
Re:Float Toy by zamadatix on Wednesday January 22, 2020 @09:44PM (#22124355)
It's certainly got more information but that combined with the "exact" values makes it a bit overwhelming/hard to understand, especially if you're trying to get a feel for it the first time and the half and the double have the same number of digits on screen. It's almost made more for investigation of something you ran across or need to hardcode than gaining intuition.

But most importantly I think best feature of the one in the submission is something it doesn't even mention in the description - it has a "click and drag to write bits" feature that I think is much easier to use/follow than the 2 dragging section on that one.

Re:Float Toy by jacobolus on Wednesday January 22, 2020 @10:22PM (#22124535)
The 2-dragging section is much more efficient if you want to roughly pick arbitrary floats, and gives a better spatial map of the range of possible floats.

The individual bit flips also can be useful. It really depends what you want to use it for.

Re:Float Toy by TazeTSchnitzel on Thursday January 23, 2020 @03:40AM (#22125901)
You can click to flip individual bits on float.exposed too, and they don't have “the same number of digits”…?
Re:Float Toy by mkl on Thursday January 23, 2020 @05:03AM (#22126262)
They do have the same number of decimal digits displayed. You can see it by clicking between "float" and "double": the decimal representation stays the same.
Re:Float Toy by TazeTSchnitzel on Thursday January 23, 2020 @06:21AM (#22126622)
What is wrong with that?
Re:Float Toy by mkl on Thursday January 23, 2020 @06:30AM (#22126665)
It makes it look like they have the same precision (well also, going from 64 to 32 bits zeros out a whole lot, which contributes to that impression). In fact, both decimal representations are usually truncated, and don't accurately represent the binary floating point number. It's a neat and useful tool regardless, and I'm being a bit pedantic.
Re:Float Toy by zamadatix on Thursday January 23, 2020 @09:13AM (#22127646)
Click and flip one yes, click and drag many no.