Use float instead of double where possible.