Average Error: 0.0 → 0.0
Time: 3.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 r19110 = x;
        double r19111 = 4.0;
        double r19112 = pow(r19110, r19111);
        double r19113 = y;
        double r19114 = pow(r19113, r19111);
        double r19115 = r19112 - r19114;
        return r19115;
}

double f(double x, double y) {
        double r19116 = x;
        double r19117 = 4.0;
        double r19118 = pow(r19116, r19117);
        double r19119 = y;
        double r19120 = pow(r19119, r19117);
        double r19121 = r19118 - r19120;
        return r19121;
}

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