Average Error: 0.0 → 0.0
Time: 8.1s
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 r166496 = x;
        double r166497 = 4.0;
        double r166498 = pow(r166496, r166497);
        double r166499 = y;
        double r166500 = pow(r166499, r166497);
        double r166501 = r166498 - r166500;
        return r166501;
}

double f(double x, double y) {
        double r166502 = x;
        double r166503 = 4.0;
        double r166504 = pow(r166502, r166503);
        double r166505 = y;
        double r166506 = pow(r166505, r166503);
        double r166507 = r166504 - r166506;
        return r166507;
}

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