|
Convert an overflow result to floating point seems tempting, but
we do not see it as a useful/practical option. First, it is quite
expensive to check multiplication overflows in ANSI C. Second, if you
are computing with integers, you probably need a correct result, not a
rough aproximation.I was wondering so does it mean we have to be careful when we use integer number and floating number into our programs? If that is the case wouldn't it be easier if integer type was defined separately allowing its usage explicitly when needed and thought out?Milind