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 r38277 = x;
        double r38278 = 4.0;
        double r38279 = pow(r38277, r38278);
        double r38280 = y;
        double r38281 = pow(r38280, r38278);
        double r38282 = r38279 - r38281;
        return r38282;
}

double f(double x, double y) {
        double r38283 = x;
        double r38284 = 4.0;
        double r38285 = pow(r38283, r38284);
        double r38286 = y;
        double r38287 = pow(r38286, r38284);
        double r38288 = r38285 - r38287;
        return r38288;
}

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