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

Oh, right. I'm an idiot who forgot about the fixed point divide.

And yes, at some point you are going to need to do a divide by constant 10. It's unavoidable if you want a base 10 display. The option of using BCD to do calculations just lets you do that divide upfront, rather than at the end.




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

Search: