Average Error: 0.0 → 0.0
Time: 9.1s
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 r178562 = x;
        double r178563 = 4.0;
        double r178564 = pow(r178562, r178563);
        double r178565 = y;
        double r178566 = pow(r178565, r178563);
        double r178567 = r178564 - r178566;
        return r178567;
}

double f(double x, double y) {
        double r178568 = x;
        double r178569 = 4.0;
        double r178570 = pow(r178568, r178569);
        double r178571 = y;
        double r178572 = pow(r178571, r178569);
        double r178573 = r178570 - r178572;
        return r178573;
}

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