Skip to content

FedericoStra/float-dbg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Debug floating point numbers easily

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages