Average Error: 0 → 0
Time: 3.7s
Precision: 64
\[e^{1 - x}\]
\[e^{1 - x}\]
e^{1 - x}
e^{1 - x}
double f(double x) {
        double r538563 = 1.0;
        double r538564 = x;
        double r538565 = r538563 - r538564;
        double r538566 = exp(r538565);
        return r538566;
}

double f(double x) {
        double r538567 = 1.0;
        double r538568 = x;
        double r538569 = r538567 - r538568;
        double r538570 = exp(r538569);
        return r538570;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[e^{1 - x}\]
  2. Final simplification0

    \[\leadsto e^{1 - x}\]

Reproduce

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