Average Error: 0.0 → 0.0
Time: 3.6s
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 r17422 = x;
        double r17423 = 4.0;
        double r17424 = pow(r17422, r17423);
        double r17425 = y;
        double r17426 = pow(r17425, r17423);
        double r17427 = r17424 - r17426;
        return r17427;
}

double f(double x, double y) {
        double r17428 = x;
        double r17429 = 4.0;
        double r17430 = pow(r17428, r17429);
        double r17431 = y;
        double r17432 = pow(r17431, r17429);
        double r17433 = r17430 - r17432;
        return r17433;
}

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