How can I test for how many significant figures a float has in C++? | Hacker News Reader