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

One annoyance with floating point binary is when it happens to not line up so well with floating point decimal, for example

  >>> 0.1 + 0.2
  0.30000000000000004
which is still gonna round to 0.3, but ugh. Also, during aggregations, it's not nice how you get different answers depending on the order of operations when they shouldn't matter.


on CME they're not decimal though, they're binary fractions

so floating point works fine as floating point is binary fractions


Oh right, I didn't make the obvious connection to 128.




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

Search: