Float Toy

Click on a cell below to toggle bit values, or edit the hex or decimal values directly. Use this to build intuition for the IEEE floating-point format. See Wikipedia for details on the half-precision, single-precision, double-precision, and bfloat16 floating-point formats. Based on float-toy by Evan Wallace (source).

16-bit (half)

  =  0x
  =  

32-bit (float)

  =  0x
  =  

64-bit (double)

  =  0x
  =  

16-bit (bfloat)

  =  0x
  =  

MXINT8 (microscaling)

  =  0x
  =  
  =  
  =  
  =  

Tests