Avoid implicit conversion from float to double
Force the operands to either double or float depending on what required fewer modifications.
In all cases found using float is enough, but when only 1 out of 5 operands is a float I decided to use double.
Closes #299 (closed)