Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yread
on March 11, 2012
|
parent
|
context
|
favorite
| on:
Why does changing 0.1f to 0 slow down performance ...
Yes, floating point is scary. I always try to stick with integers/fixed points if at all possible. Especially, if there is a loop with addition. That can eat 1 bit of precision per iteration if you're unlucky
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: