Average Error: 0.0 → 0.0
Time: 1.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 r34392 = x;
        double r34393 = 4.0;
        double r34394 = pow(r34392, r34393);
        double r34395 = y;
        double r34396 = pow(r34395, r34393);
        double r34397 = r34394 - r34396;
        return r34397;
}

double f(double x, double y) {
        double r34398 = x;
        double r34399 = 4.0;
        double r34400 = pow(r34398, r34399);
        double r34401 = y;
        double r34402 = pow(r34401, r34399);
        double r34403 = r34400 - r34402;
        return r34403;
}

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