add implicit conversions from double and int to float for convenience