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

"Round to nearest even is the default IEEE rounding mode. This means that 5.5 rounds to 6, and 6.5 also rounds to 6"

Does anyone know the reason behind this? why the nearest even and not a hard cut like "always round up with >= 0.5"?



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

Search: