Average Error: 0.0 → 0.0
Time: 3.7s
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 r42519 = x;
        double r42520 = 4.0;
        double r42521 = pow(r42519, r42520);
        double r42522 = y;
        double r42523 = pow(r42522, r42520);
        double r42524 = r42521 - r42523;
        return r42524;
}

double f(double x, double y) {
        double r42525 = x;
        double r42526 = 4.0;
        double r42527 = pow(r42525, r42526);
        double r42528 = y;
        double r42529 = pow(r42528, r42526);
        double r42530 = r42527 - r42529;
        return r42530;
}

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