Average Error: 0.0 → 0.0
Time: 8.4s
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 r22552 = x;
        double r22553 = 4.0;
        double r22554 = pow(r22552, r22553);
        double r22555 = y;
        double r22556 = pow(r22555, r22553);
        double r22557 = r22554 - r22556;
        return r22557;
}

double f(double x, double y) {
        double r22558 = x;
        double r22559 = 4.0;
        double r22560 = pow(r22558, r22559);
        double r22561 = y;
        double r22562 = pow(r22561, r22559);
        double r22563 = r22560 - r22562;
        return r22563;
}

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