Average Error: 0 → 0
Time: 5.4s
Precision: 64
\[e^{\alpha \cdot x}\]
\[e^{\alpha \cdot x}\]
e^{\alpha \cdot x}
e^{\alpha \cdot x}
double f(double alpha, double x) {
        double r540228 = alpha;
        double r540229 = x;
        double r540230 = r540228 * r540229;
        double r540231 = exp(r540230);
        return r540231;
}

double f(double alpha, double x) {
        double r540232 = alpha;
        double r540233 = x;
        double r540234 = r540232 * r540233;
        double r540235 = exp(r540234);
        return r540235;
}

Error

Bits error versus alpha

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[e^{\alpha \cdot x}\]
  2. Final simplification0

    \[\leadsto e^{\alpha \cdot x}\]

Reproduce

herbie shell --seed 1 
(FPCore (alpha x)
  :name "exp(alpha*x)"
  :precision binary32
  (exp (* alpha x)))