Average Error: 0.0 → 0.0
Time: 7.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 r29290 = x;
        double r29291 = 4.0;
        double r29292 = pow(r29290, r29291);
        double r29293 = y;
        double r29294 = pow(r29293, r29291);
        double r29295 = r29292 - r29294;
        return r29295;
}

double f(double x, double y) {
        double r29296 = x;
        double r29297 = 4.0;
        double r29298 = pow(r29296, r29297);
        double r29299 = y;
        double r29300 = pow(r29299, r29297);
        double r29301 = r29298 - r29300;
        return r29301;
}

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