Average Error: 0.0 → 0.0
Time: 2.1s
Precision: 64
\[e^{\left(x \cdot y\right) \cdot y}\]
\[\sqrt{e^{\left(x \cdot y\right) \cdot y}} \cdot \sqrt{e^{\left(\sqrt[3]{\left(x \cdot y\right) \cdot y} \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}\right) \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}}}\]
e^{\left(x \cdot y\right) \cdot y}
\sqrt{e^{\left(x \cdot y\right) \cdot y}} \cdot \sqrt{e^{\left(\sqrt[3]{\left(x \cdot y\right) \cdot y} \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}\right) \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}}}
double code(double x, double y) {
	return exp(((x * y) * y));
}
double code(double x, double y) {
	return (sqrt(exp(((x * y) * y))) * sqrt(exp(((cbrt(((x * y) * y)) * cbrt(((x * y) * y))) * cbrt(((x * y) * y))))));
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[e^{\left(x \cdot y\right) \cdot y}\]
  2. Using strategy rm
  3. Applied add-sqr-sqrt0.0

    \[\leadsto \color{blue}{\sqrt{e^{\left(x \cdot y\right) \cdot y}} \cdot \sqrt{e^{\left(x \cdot y\right) \cdot y}}}\]
  4. Using strategy rm
  5. Applied add-cube-cbrt0.0

    \[\leadsto \sqrt{e^{\left(x \cdot y\right) \cdot y}} \cdot \sqrt{e^{\color{blue}{\left(\sqrt[3]{\left(x \cdot y\right) \cdot y} \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}\right) \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}}}}\]
  6. Final simplification0.0

    \[\leadsto \sqrt{e^{\left(x \cdot y\right) \cdot y}} \cdot \sqrt{e^{\left(\sqrt[3]{\left(x \cdot y\right) \cdot y} \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}\right) \cdot \sqrt[3]{\left(x \cdot y\right) \cdot y}}}\]

Reproduce

herbie shell --seed 2020056 +o rules:numerics
(FPCore (x y)
  :name "Data.Random.Distribution.Normal:normalF from random-fu-0.2.6.2"
  :precision binary64
  (exp (* (* x y) y)))