The bool type is implicitly cast to the double type. A part of conditional expression is always true.