Average Error: 0.0 → 0.0
Time: 2.1m
Precision: 64
\[e^{\left(x \cdot y\right) \cdot y}\]
\[e^{\sqrt[3]{{\left(x \cdot {y}^{2}\right)}^{3}}}\]
e^{\left(x \cdot y\right) \cdot y}
e^{\sqrt[3]{{\left(x \cdot {y}^{2}\right)}^{3}}}
double f(double x, double y) {
        double r318016 = x;
        double r318017 = y;
        double r318018 = r318016 * r318017;
        double r318019 = r318018 * r318017;
        double r318020 = exp(r318019);
        return r318020;
}

double f(double x, double y) {
        double r318021 = x;
        double r318022 = y;
        double r318023 = 2.0;
        double r318024 = pow(r318022, r318023);
        double r318025 = r318021 * r318024;
        double r318026 = 3.0;
        double r318027 = pow(r318025, r318026);
        double r318028 = cbrt(r318027);
        double r318029 = exp(r318028);
        return r318029;
}

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.9

    \[\leadsto e^{\left(x \cdot y\right) \cdot \color{blue}{\sqrt[3]{\left(y \cdot y\right) \cdot y}}}\]
  4. Applied add-cbrt-cube0.9

    \[\leadsto e^{\left(x \cdot \color{blue}{\sqrt[3]{\left(y \cdot y\right) \cdot y}}\right) \cdot \sqrt[3]{\left(y \cdot y\right) \cdot y}}\]
  5. Applied add-cbrt-cube14.9

    \[\leadsto e^{\left(\color{blue}{\sqrt[3]{\left(x \cdot x\right) \cdot x}} \cdot \sqrt[3]{\left(y \cdot y\right) \cdot y}\right) \cdot \sqrt[3]{\left(y \cdot y\right) \cdot y}}\]
  6. Applied cbrt-unprod14.9

    \[\leadsto e^{\color{blue}{\sqrt[3]{\left(\left(x \cdot x\right) \cdot x\right) \cdot \left(\left(y \cdot y\right) \cdot y\right)}} \cdot \sqrt[3]{\left(y \cdot y\right) \cdot y}}\]
  7. Applied cbrt-unprod14.9

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

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

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

Reproduce

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