News for hackers. Stuff that matters.
Re:Why does changing 0.1f to 0 slow down performance by 10x? by yread on Sunday March 11, 2012 @03:51PM (#3691095)
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

There are no comments on this comment yet.