Average Error: 0.0 → 0.0
Time: 2.8s
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 r26415 = x;
        double r26416 = 4.0;
        double r26417 = pow(r26415, r26416);
        double r26418 = y;
        double r26419 = pow(r26418, r26416);
        double r26420 = r26417 - r26419;
        return r26420;
}

double f(double x, double y) {
        double r26421 = x;
        double r26422 = 4.0;
        double r26423 = pow(r26421, r26422);
        double r26424 = y;
        double r26425 = pow(r26424, r26422);
        double r26426 = r26423 - r26425;
        return r26426;
}

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