Average Error: 0.0 → 0.0
Time: 19.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 r56110 = x;
        double r56111 = 4.0;
        double r56112 = pow(r56110, r56111);
        double r56113 = y;
        double r56114 = pow(r56113, r56111);
        double r56115 = r56112 - r56114;
        return r56115;
}

double f(double x, double y) {
        double r56116 = x;
        double r56117 = 4.0;
        double r56118 = pow(r56116, r56117);
        double r56119 = y;
        double r56120 = pow(r56119, r56117);
        double r56121 = r56118 - r56120;
        return r56121;
}

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