Average Error: 0.0 → 0.0
Time: 3.3s
Precision: 64
\[e^{\left(x + y \cdot \log y\right) - z}\]
\[{e}^{\left(\left(x + y \cdot \log y\right) - z\right)}\]
e^{\left(x + y \cdot \log y\right) - z}
{e}^{\left(\left(x + y \cdot \log y\right) - z\right)}
double code(double x, double y, double z) {
	return exp(((x + (y * log(y))) - z));
}
double code(double x, double y, double z) {
	return pow(((double) M_E), ((x + (y * log(y))) - z));
}

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

Original0.0
Target0.0
Herbie0.0
\[e^{\left(x - z\right) + \log y \cdot y}\]

Derivation

  1. Initial program 0.0

    \[e^{\left(x + y \cdot \log y\right) - z}\]
  2. Using strategy rm
  3. Applied *-un-lft-identity0.0

    \[\leadsto e^{\color{blue}{1 \cdot \left(\left(x + y \cdot \log y\right) - z\right)}}\]
  4. Applied exp-prod0.0

    \[\leadsto \color{blue}{{\left(e^{1}\right)}^{\left(\left(x + y \cdot \log y\right) - z\right)}}\]
  5. Simplified0.0

    \[\leadsto {\color{blue}{e}}^{\left(\left(x + y \cdot \log y\right) - z\right)}\]
  6. Final simplification0.0

    \[\leadsto {e}^{\left(\left(x + y \cdot \log y\right) - z\right)}\]

Reproduce

herbie shell --seed 2020075 
(FPCore (x y z)
  :name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"
  :precision binary64

  :herbie-target
  (exp (+ (- x z) (* (log y) y)))

  (exp (- (+ x (* y (log y))) z)))