including only the scalar version of is_nan in f_log.hpp
scalar