Average Error: 0.0 → 0.0
Time: 10.8s
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 r35785 = x;
        double r35786 = 4.0;
        double r35787 = pow(r35785, r35786);
        double r35788 = y;
        double r35789 = pow(r35788, r35786);
        double r35790 = r35787 - r35789;
        return r35790;
}

double f(double x, double y) {
        double r35791 = x;
        double r35792 = 4.0;
        double r35793 = pow(r35791, r35792);
        double r35794 = y;
        double r35795 = pow(r35794, r35792);
        double r35796 = r35793 - r35795;
        return r35796;
}

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 2019174 +o rules:numerics
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4.0) (pow y 4.0)))