Average Error: 0.0 → 0.0
Time: 8.3s
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 r154768 = x;
        double r154769 = 4.0;
        double r154770 = pow(r154768, r154769);
        double r154771 = y;
        double r154772 = pow(r154771, r154769);
        double r154773 = r154770 - r154772;
        return r154773;
}

double f(double x, double y) {
        double r154774 = x;
        double r154775 = 4.0;
        double r154776 = pow(r154774, r154775);
        double r154777 = y;
        double r154778 = pow(r154777, r154775);
        double r154779 = r154776 - r154778;
        return r154779;
}

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