Average Error: 0.0 → 0.0
Time: 6.0s
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 r134400 = x;
        double r134401 = 4.0;
        double r134402 = pow(r134400, r134401);
        double r134403 = y;
        double r134404 = pow(r134403, r134401);
        double r134405 = r134402 - r134404;
        return r134405;
}

double f(double x, double y) {
        double r134406 = x;
        double r134407 = 4.0;
        double r134408 = pow(r134406, r134407);
        double r134409 = y;
        double r134410 = pow(r134409, r134407);
        double r134411 = r134408 - r134410;
        return r134411;
}

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