Fixed exp(1+x) and log(x) vulnerability using expm1x and log1px