support NaN, NA, Inf, -Inf in new_complex