Average Error: 0.0 → 0.0
Time: 21.6s
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 r37491 = x;
        double r37492 = 4.0;
        double r37493 = pow(r37491, r37492);
        double r37494 = y;
        double r37495 = pow(r37494, r37492);
        double r37496 = r37493 - r37495;
        return r37496;
}

double f(double x, double y) {
        double r37497 = x;
        double r37498 = 4.0;
        double r37499 = pow(r37497, r37498);
        double r37500 = y;
        double r37501 = pow(r37500, r37498);
        double r37502 = r37499 - r37501;
        return r37502;
}

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