is_nan.hpp modified to be consistent with the scalar version and eliminate emulation on arm.