Average Error: 0.1 → 0.1
Time: 9.0s
Precision: 64
\[e^{\cos x}\]
\[e^{\cos x}\]
e^{\cos x}
e^{\cos x}
double f(double x) {
        double r1040683 = x;
        double r1040684 = cos(r1040683);
        double r1040685 = exp(r1040684);
        return r1040685;
}

double f(double x) {
        double r1040686 = x;
        double r1040687 = cos(r1040686);
        double r1040688 = exp(r1040687);
        return r1040688;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

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

    \[\leadsto e^{\cos x}\]

Reproduce

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