Average Error: 0.0 → 0.0
Time: 17.6s
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 r601987 = x;
        double r601988 = 4.0;
        double r601989 = pow(r601987, r601988);
        double r601990 = y;
        double r601991 = pow(r601990, r601988);
        double r601992 = r601989 - r601991;
        return r601992;
}

double f(double x, double y) {
        double r601993 = x;
        double r601994 = 4.0;
        double r601995 = pow(r601993, r601994);
        double r601996 = y;
        double r601997 = pow(r601996, r601994);
        double r601998 = r601995 - r601997;
        return r601998;
}

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