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

>but you can pay a significant price in terms of efficiency and storage headaches

Yet the code you posted above as using int64 does not in fact work using int64, it requires arbitrary sized integers as I demonstrated above.

Did you even check your code? Your example above has the (P*R) term overflowing leading to nonsense results.

Man this is funny - you somehow thought you were using int64 in your calcs but you were not :)



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

Search: