Average Error: 0.0 → 0.0
Time: 8.3s
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 r1165427 = x;
        double r1165428 = 4.0;
        double r1165429 = pow(r1165427, r1165428);
        double r1165430 = y;
        double r1165431 = pow(r1165430, r1165428);
        double r1165432 = r1165429 - r1165431;
        return r1165432;
}

double f(double x, double y) {
        double r1165433 = x;
        double r1165434 = 4.0;
        double r1165435 = pow(r1165433, r1165434);
        double r1165436 = y;
        double r1165437 = pow(r1165436, r1165434);
        double r1165438 = r1165435 - r1165437;
        return r1165438;
}

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