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 r24438 = x;
        double r24439 = 4.0;
        double r24440 = pow(r24438, r24439);
        double r24441 = y;
        double r24442 = pow(r24441, r24439);
        double r24443 = r24440 - r24442;
        return r24443;
}

double f(double x, double y) {
        double r24444 = x;
        double r24445 = 4.0;
        double r24446 = pow(r24444, r24445);
        double r24447 = y;
        double r24448 = pow(r24447, r24445);
        double r24449 = r24446 - r24448;
        return r24449;
}

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