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 r43445 = x;
        double r43446 = 4.0;
        double r43447 = pow(r43445, r43446);
        double r43448 = y;
        double r43449 = pow(r43448, r43446);
        double r43450 = r43447 - r43449;
        return r43450;
}

double f(double x, double y) {
        double r43451 = x;
        double r43452 = 4.0;
        double r43453 = pow(r43451, r43452);
        double r43454 = y;
        double r43455 = pow(r43454, r43452);
        double r43456 = r43453 - r43455;
        return r43456;
}

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