float-toy icon indicating copy to clipboard operation
float-toy copied to clipboard

Use this to build intuition for the IEEE floating-point format

Results 8 float-toy issues
Sort by recently updated
recently updated
newest added

0 11111 0000000000 in 16 bit float should read 65536. This web app claims it is infinity.

@evanw This is an awesome project and I love it! But lack of some new data format, such as BF16, TF32. Could you add supports of them?

The accuracy of the values goes downhill from bit 16 onward, with incorrect results. I.e. using the 32-bit (float) toy: 1. Set only bit 17 'on': 0x3F810000 : value is...

Could you please add this peculiar format https://en.wikipedia.org/wiki/Unum_(number_format) Text description sounds too vague for me)

When dragging across the bits to switch several of them at once, they would get selected as text. This behaviour was quite annoying so I added `user-select: none` to the...

Updated the HTML page in order to avoid entering all the required digits

To see the issue, enter "0x800" on the hex part of the 16bit/half visualizer at the top -- and see it has the "one" in bit 16 not bit 12...