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

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-cbrt-cube0.0

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

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

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

Reproduce

herbie shell --seed 2020078 +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)))