Average Error: 0.0 → 0.0
Time: 4.2s
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 r44607 = x;
        double r44608 = 4.0;
        double r44609 = pow(r44607, r44608);
        double r44610 = y;
        double r44611 = pow(r44610, r44608);
        double r44612 = r44609 - r44611;
        return r44612;
}

double f(double x, double y) {
        double r44613 = x;
        double r44614 = 4.0;
        double r44615 = pow(r44613, r44614);
        double r44616 = y;
        double r44617 = pow(r44616, r44614);
        double r44618 = r44615 - r44617;
        return r44618;
}

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