Skip to content

Comment on Why can I Debug some Numerical Programs that You Can’t? Why should we care?parent

Comments

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.

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.