Average Error: 2.7 → 0.0
Time: 2.8s
Precision: binary64
\[\]
\[\]
double code(double x, double y, double z) {
	return ((double) (x + ((double) (y / ((double) (((double) (1.1283791670955126 * ((double) exp(z)))) - ((double) (x * y))))))));
}
double code(double x, double y, double z) {
	return ((double) (x + ((double) (1.0 / ((double) (((double) (((double) (1.1283791670955126 / y)) * ((double) exp(z)))) - x))))));
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original2.7
Target0.0
Herbie0.0
\[\]

Derivation

  1. Initial program 2.7

    \[\]
  2. Using strategy rm
  3. Applied clear-num2.7

    \[\leadsto \]
  4. Simplified0.0

    \[\leadsto \]
  5. Final simplification0.0

    \[\leadsto \]

Reproduce

herbie shell --seed 2020191 
(FPCore (x y z)
  :name "Numeric.SpecFunctions:invErfc from math-functions-0.1.5.2, A"
  :precision binary64

  :herbie-target
  (+ x (/ 1.0 (- (* (/ 1.1283791670955126 y) (exp z)) x)))

  (+ x (/ y (- (* 1.1283791670955126 (exp z)) (* x y)))))