Average Error: 0.0 → 0.0
Time: 11.4s
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 r36526 = x;
        double r36527 = 4.0;
        double r36528 = pow(r36526, r36527);
        double r36529 = y;
        double r36530 = pow(r36529, r36527);
        double r36531 = r36528 - r36530;
        return r36531;
}

double f(double x, double y) {
        double r36532 = x;
        double r36533 = 4.0;
        double r36534 = pow(r36532, r36533);
        double r36535 = y;
        double r36536 = pow(r36535, r36533);
        double r36537 = r36534 - r36536;
        return r36537;
}

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