Average Error: 0.0 → 0.0
Time: 5.2s
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 r19360 = x;
        double r19361 = 4.0;
        double r19362 = pow(r19360, r19361);
        double r19363 = y;
        double r19364 = pow(r19363, r19361);
        double r19365 = r19362 - r19364;
        return r19365;
}

double f(double x, double y) {
        double r19366 = x;
        double r19367 = 4.0;
        double r19368 = pow(r19366, r19367);
        double r19369 = y;
        double r19370 = pow(r19369, r19367);
        double r19371 = r19368 - r19370;
        return r19371;
}

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