Let's say we have the following code:
float f = 999999999999*9999999999999999*999999999999; //a large number to make it overflow
so according to the float-pointing rule, the result should be infinity as:
But I checked the result's bit representation , it is not the infinity, it is some else, how come?
double
when using floating-point values.