Hacker News new | past | comments | ask | show | jobs | submit login

Outside of science and engineering, I think fixed point BCD is otherwise preferable. It's better matched to the expectations we've all had since grade-school.

Original example was about steps, not termination. With FP, each tick label has to be post-formatted with a precision specifier to get the desired behavior. With BCD, casting to a string is sufficient (and super-simple to implement).




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

Search: