Hacker News new | ask | show | jobs
by xedarius 5319 days ago
Most video games use floats. This is because doubles will be emulated in software on some platforms, thus making them incredibly slow. The Unreal Engine, for example uses floats extensively.
1 comments

Also, most modern x86 processors can perform single-precision operations twice as fast as double-precision, which helps (and saving memory bandwidth is good too.)

On PPC/ARM, single-precision allows you to use Altivec/NEON, which can give significant performance boosts as well.