Use float instead of double