Average Error: 0.0 → 0.0
Time: 1.3s
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 r18614 = x;
        double r18615 = 4.0;
        double r18616 = pow(r18614, r18615);
        double r18617 = y;
        double r18618 = pow(r18617, r18615);
        double r18619 = r18616 - r18618;
        return r18619;
}

double f(double x, double y) {
        double r18620 = x;
        double r18621 = 4.0;
        double r18622 = pow(r18620, r18621);
        double r18623 = y;
        double r18624 = pow(r18623, r18621);
        double r18625 = r18622 - r18624;
        return r18625;
}

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