Average Error: 0.0 → 0.0
Time: 6.7s
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 r31581 = x;
        double r31582 = 4.0;
        double r31583 = pow(r31581, r31582);
        double r31584 = y;
        double r31585 = pow(r31584, r31582);
        double r31586 = r31583 - r31585;
        return r31586;
}

double f(double x, double y) {
        double r31587 = x;
        double r31588 = 4.0;
        double r31589 = pow(r31587, r31588);
        double r31590 = y;
        double r31591 = pow(r31590, r31588);
        double r31592 = r31589 - r31591;
        return r31592;
}

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