Fixed test failures on hardware without double precision support.