Hacker GitHub

← All repos

haberman/dumpfp

View on GitHub ↗ ★ 57 C++

A small little tool for dumping a floating-point number in its native format

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2012-11-21 · latest 2014-03-27

Mentions per year 3 mentions · busiest year 2012 (2)
20082026
  1. …Decimal('0.3000000000000000444089209850062616169452667236328125') You can also use my tool "dumpfp" ( https://github.com/haberman/dumpfp ) to inspect the value of a floating-point number in detail: $ ./dumpfp 0.1 Single Precision (IEEE…
  2. Link to the Github repository, which is oddly missing from the post: https://github.com/haberman/dumpfp
  3. …(and I'm learning a lot in the process). EDIT: got an initial revision out there; check out: https://github.com/haberman/dumpfp