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 r18480 = x;
        double r18481 = 4.0;
        double r18482 = pow(r18480, r18481);
        double r18483 = y;
        double r18484 = pow(r18483, r18481);
        double r18485 = r18482 - r18484;
        return r18485;
}

double f(double x, double y) {
        double r18486 = x;
        double r18487 = 4.0;
        double r18488 = pow(r18486, r18487);
        double r18489 = y;
        double r18490 = pow(r18489, r18487);
        double r18491 = r18488 - r18490;
        return r18491;
}

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