6 releases

Uses new Rust 2021

0.3.2 Jan 20, 2022
0.3.1 Jan 20, 2022
0.2.0 Jan 20, 2022
0.1.1 Jan 19, 2022

#188 in Debugging

25 downloads per month

MIT license

9KB
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

~185KB