Average Error: 0.0 → 0.0
Time: 1.3s
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 r21570 = x;
        double r21571 = 4.0;
        double r21572 = pow(r21570, r21571);
        double r21573 = y;
        double r21574 = pow(r21573, r21571);
        double r21575 = r21572 - r21574;
        return r21575;
}

double f(double x, double y) {
        double r21576 = x;
        double r21577 = 4.0;
        double r21578 = pow(r21576, r21577);
        double r21579 = y;
        double r21580 = pow(r21579, r21577);
        double r21581 = r21578 - r21580;
        return r21581;
}

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