Average Error: 0.0 → 0.0
Time: 4.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 r36135 = x;
        double r36136 = 4.0;
        double r36137 = pow(r36135, r36136);
        double r36138 = y;
        double r36139 = pow(r36138, r36136);
        double r36140 = r36137 - r36139;
        return r36140;
}

double f(double x, double y) {
        double r36141 = x;
        double r36142 = 4.0;
        double r36143 = pow(r36141, r36142);
        double r36144 = y;
        double r36145 = pow(r36144, r36142);
        double r36146 = r36143 - r36145;
        return r36146;
}

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