nan was causing a problem in build_other_constant for floats