Average Error: 0.0 → 0.0
Time: 11.2s
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 r31428 = x;
        double r31429 = 4.0;
        double r31430 = pow(r31428, r31429);
        double r31431 = y;
        double r31432 = pow(r31431, r31429);
        double r31433 = r31430 - r31432;
        return r31433;
}

double f(double x, double y) {
        double r31434 = x;
        double r31435 = 4.0;
        double r31436 = pow(r31434, r31435);
        double r31437 = y;
        double r31438 = pow(r31437, r31435);
        double r31439 = r31436 - r31438;
        return r31439;
}

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