Average Error: 0.0 → 0.0
Time: 30.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 r848704 = x;
        double r848705 = 4.0;
        double r848706 = pow(r848704, r848705);
        double r848707 = y;
        double r848708 = pow(r848707, r848705);
        double r848709 = r848706 - r848708;
        return r848709;
}

double f(double x, double y) {
        double r848710 = x;
        double r848711 = 4.0;
        double r848712 = pow(r848710, r848711);
        double r848713 = y;
        double r848714 = pow(r848713, r848711);
        double r848715 = r848712 - r848714;
        return r848715;
}

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