Average Error: 52.0 → 52.0
Time: 2.5s
Precision: 64
\[x = 10864 \land y = 18817\]
\[\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)\]
\[\sqrt[3]{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}} + 2 \cdot \left(y \cdot y\right)\]
\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)
\sqrt[3]{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}} + 2 \cdot \left(y \cdot y\right)
double f(double x, double y) {
        double r65887 = 9.0;
        double r65888 = x;
        double r65889 = 4.0;
        double r65890 = pow(r65888, r65889);
        double r65891 = r65887 * r65890;
        double r65892 = y;
        double r65893 = pow(r65892, r65889);
        double r65894 = r65891 - r65893;
        double r65895 = 2.0;
        double r65896 = r65892 * r65892;
        double r65897 = r65895 * r65896;
        double r65898 = r65894 + r65897;
        return r65898;
}

double f(double x, double y) {
        double r65899 = 9.0;
        double r65900 = x;
        double r65901 = 4.0;
        double r65902 = pow(r65900, r65901);
        double r65903 = r65899 * r65902;
        double r65904 = y;
        double r65905 = pow(r65904, r65901);
        double r65906 = r65903 - r65905;
        double r65907 = 3.0;
        double r65908 = pow(r65906, r65907);
        double r65909 = cbrt(r65908);
        double r65910 = 2.0;
        double r65911 = r65904 * r65904;
        double r65912 = r65910 * r65911;
        double r65913 = r65909 + r65912;
        return r65913;
}

Error

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 52.0

    \[\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)\]
  2. Using strategy rm
  3. Applied add-cbrt-cube52.0

    \[\leadsto \color{blue}{\sqrt[3]{\left(\left(9 \cdot {x}^{4} - {y}^{4}\right) \cdot \left(9 \cdot {x}^{4} - {y}^{4}\right)\right) \cdot \left(9 \cdot {x}^{4} - {y}^{4}\right)}} + 2 \cdot \left(y \cdot y\right)\]
  4. Simplified52.0

    \[\leadsto \sqrt[3]{\color{blue}{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}}} + 2 \cdot \left(y \cdot y\right)\]
  5. Final simplification52.0

    \[\leadsto \sqrt[3]{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}} + 2 \cdot \left(y \cdot y\right)\]

Reproduce

herbie shell --seed 2019353 
(FPCore (x y)
  :name "From Rump in a 1983 paper"
  :precision binary64
  :pre (and (== x 10864) (== y 18817))
  (+ (- (* 9 (pow x 4)) (pow y 4)) (* 2 (* y y))))