absolute checking, NaN would return wrong anyway