Average Error: 0.0 → 0.0
Time: 4.0s
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 r44685 = x;
        double r44686 = 4.0;
        double r44687 = pow(r44685, r44686);
        double r44688 = y;
        double r44689 = pow(r44688, r44686);
        double r44690 = r44687 - r44689;
        return r44690;
}

double f(double x, double y) {
        double r44691 = x;
        double r44692 = 4.0;
        double r44693 = pow(r44691, r44692);
        double r44694 = y;
        double r44695 = pow(r44694, r44692);
        double r44696 = r44693 - r44695;
        return r44696;
}

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