Switch from float, double to float32, float64