handle regular number, NA and NaN in comparison<REALSXP>. closes #275