Revert "Fixes a number of double promotions and missing casts."

This reverts commit 43279728cd39947f95dbf77557a0a698f164fdd1.
6 files changed