Average Error: 0.0 → 0.0
Time: 9.7s
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 r18084 = x;
        double r18085 = 4.0;
        double r18086 = pow(r18084, r18085);
        double r18087 = y;
        double r18088 = pow(r18087, r18085);
        double r18089 = r18086 - r18088;
        return r18089;
}

double f(double x, double y) {
        double r18090 = x;
        double r18091 = 4.0;
        double r18092 = pow(r18090, r18091);
        double r18093 = y;
        double r18094 = pow(r18093, r18091);
        double r18095 = r18092 - r18094;
        return r18095;
}

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