Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But they are repeating. So, by definition, they are not exactly representable in a (binary) floating point system. Again, that’s why 0.1 + 0.2 is not 0.3 in binary floating point.


These are not "repeating". This is showing the exact binary representation of the nearest double precision value in each case.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: