exp (Inf) == Inf && exp (-Inf) == 0 && isnan (exp (NaN))
