Handling with floats can be irritating while it is one of the non-integral datatypes. This means that the displayed value (e.g. via printf(“%f”,somefloat); ) is different to the one actualy stored in memory. This is caused by IEEE 754 To get the real values we have to go inside the float. A cast wouldn’t do the […]
Tag Archives: Float