Average Error: 0.0 → 0.0
Time: 9.5s
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 r880095 = x;
        double r880096 = 4.0;
        double r880097 = pow(r880095, r880096);
        double r880098 = y;
        double r880099 = pow(r880098, r880096);
        double r880100 = r880097 - r880099;
        return r880100;
}

double f(double x, double y) {
        double r880101 = x;
        double r880102 = 4.0;
        double r880103 = pow(r880101, r880102);
        double r880104 = y;
        double r880105 = pow(r880104, r880102);
        double r880106 = r880103 - r880105;
        return r880106;
}

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