1.question 1.4 - int(1.4) = something like 0.39999999999999999999999999999 is this the way pd calculate?
i guess, you want to write 1.4 - int(1) ... floating point math is not associative, so 1.4 - 1 - 0.4 != 0 see: http://en.wikipedia.org/wiki/Floating_point#Properties_of_floating_point_ari...
2.question is there a way to check the result with [== 0.4] which outputs 1?
3.question is 0.4 in [== 0.4] a 32bit float?
no, because there is no possibility to encode 0.4 as a floating point number without rounding ... an equality test only makes sense, if a number can be encoded as floating point number and it's sure, you're experiencing rounding problems ...
hth ... tim
-- TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
Happiness is a byproduct of function, purpose, and conflict; those who seek happiness for itself seek victory without war. William S. Burroughs