Why in some programming languages the expression in title evaluates to true? I've tried it in php, ruby and python.
Please read What Every Programmer Should Know About Floating-Point Arithmetic .
What Every Programmer Should Know About Floating-Point Arithmetic