add float -> double and double -> float conversion