Average Error: 0.0 → 0.0
Time: 8.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 r1214382 = x;
        double r1214383 = 4.0;
        double r1214384 = pow(r1214382, r1214383);
        double r1214385 = y;
        double r1214386 = pow(r1214385, r1214383);
        double r1214387 = r1214384 - r1214386;
        return r1214387;
}

double f(double x, double y) {
        double r1214388 = x;
        double r1214389 = 4.0;
        double r1214390 = pow(r1214388, r1214389);
        double r1214391 = y;
        double r1214392 = pow(r1214391, r1214389);
        double r1214393 = r1214390 - r1214392;
        return r1214393;
}

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