Average Error: 0.0 → 0.0
Time: 9.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 r342691 = x;
        double r342692 = 4.0;
        double r342693 = pow(r342691, r342692);
        double r342694 = y;
        double r342695 = pow(r342694, r342692);
        double r342696 = r342693 - r342695;
        return r342696;
}

double f(double x, double y) {
        double r342697 = x;
        double r342698 = 4.0;
        double r342699 = pow(r342697, r342698);
        double r342700 = y;
        double r342701 = pow(r342700, r342698);
        double r342702 = r342699 - r342701;
        return r342702;
}

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