Fix implicit conversion increases floating-point precision

Authored by hindenburg on Nov 25 2019, 12:43 AM.