Average Error: 0.0 → 0.0
Time: 25.1s
Precision: 64
\[{x}^{4} - {y}^{4}\]
\[{x}^{4} - {y}^{4}\]
{x}^{4} - {y}^{4}
{x}^{4} - {y}^{4}
double f(double x, double y) {
        double r37976 = x;
        double r37977 = 4.0;
        double r37978 = pow(r37976, r37977);
        double r37979 = y;
        double r37980 = pow(r37979, r37977);
        double r37981 = r37978 - r37980;
        return r37981;
}

double f(double x, double y) {
        double r37982 = x;
        double r37983 = 4.0;
        double r37984 = pow(r37982, r37983);
        double r37985 = y;
        double r37986 = pow(r37985, r37983);
        double r37987 = r37984 - r37986;
        return r37987;
}

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

    \[{x}^{4} - {y}^{4}\]
  2. Final simplification0.0

    \[\leadsto {x}^{4} - {y}^{4}\]

Reproduce

herbie shell --seed 2019323 +o rules:numerics
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  :precision binary64
  (- (pow x 4) (pow y 4)))