Average Error: 0.0 → 0.0
Time: 13.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 r1626430 = x;
        double r1626431 = 4.0;
        double r1626432 = pow(r1626430, r1626431);
        double r1626433 = y;
        double r1626434 = pow(r1626433, r1626431);
        double r1626435 = r1626432 - r1626434;
        return r1626435;
}

double f(double x, double y) {
        double r1626436 = x;
        double r1626437 = 4.0;
        double r1626438 = pow(r1626436, r1626437);
        double r1626439 = y;
        double r1626440 = pow(r1626439, r1626437);
        double r1626441 = r1626438 - r1626440;
        return r1626441;
}

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