7 unstable releases

0.4.0-alpha.1 May 21, 2024
0.3.2 Jan 20, 2022
0.2.0 Jan 20, 2022
0.1.1 Jan 19, 2022

#248 in Debugging

MIT license

10KB
169 lines

float-dbg

Easily debug floating point numbers in Rust.

0.045_f32.explain()
value = 0.045
bits: 00111101001110000101000111101100
      ±^^^^^^^^_______________________
sign: +
exponent = 122 - 127 = -5
significand = 2^23 + 3690988 = 12079596

Dependencies

~190KB