include impl of isnan