Re: Implicit Casts for Arithmetic Operators

2018-10-03 Thread Murukesh Mohanan
I think you're conflating two things here. There's the loss resulting from using some operators, and loss involved in casting. Dividing an integer by another integer to obtain an integer result can result in loss, but there's no implicit casting there and no loss due to casting. Casting an

Re: Implicit Casts for Arithmetic Operators

2018-10-03 Thread Benjamin Lerer
Hi, I would like to try to clarify things a bit to help people to understand the true complexity of the problem. The *float *and *double *types are inexact numeric types. Not only at the operation level. If you insert 676543.21 in a *float* column and then read it, you will realize that the