Average Error: 0.0 → 0.0
Time: 2.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 r37735 = x;
        double r37736 = 4.0;
        double r37737 = pow(r37735, r37736);
        double r37738 = y;
        double r37739 = pow(r37738, r37736);
        double r37740 = r37737 - r37739;
        return r37740;
}

double f(double x, double y) {
        double r37741 = x;
        double r37742 = 4.0;
        double r37743 = pow(r37741, r37742);
        double r37744 = y;
        double r37745 = pow(r37744, r37742);
        double r37746 = r37743 - r37745;
        return r37746;
}

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