finally correct comparison float/double