const -> const double and float -> double