Average Error: 0.0 → 0.0
Time: 6.9s
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 r21606 = x;
        double r21607 = 4.0;
        double r21608 = pow(r21606, r21607);
        double r21609 = y;
        double r21610 = pow(r21609, r21607);
        double r21611 = r21608 - r21610;
        return r21611;
}

double f(double x, double y) {
        double r21612 = x;
        double r21613 = 4.0;
        double r21614 = pow(r21612, r21613);
        double r21615 = y;
        double r21616 = pow(r21615, r21613);
        double r21617 = r21614 - r21616;
        return r21617;
}

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