Average Error: 0.0 → 0.0
Time: 2.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 r18373 = x;
        double r18374 = 4.0;
        double r18375 = pow(r18373, r18374);
        double r18376 = y;
        double r18377 = pow(r18376, r18374);
        double r18378 = r18375 - r18377;
        return r18378;
}

double f(double x, double y) {
        double r18379 = x;
        double r18380 = 4.0;
        double r18381 = pow(r18379, r18380);
        double r18382 = y;
        double r18383 = pow(r18382, r18380);
        double r18384 = r18381 - r18383;
        return r18384;
}

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