Average Error: 0.0 → 0.0
Time: 1.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 r36092 = x;
        double r36093 = 4.0;
        double r36094 = pow(r36092, r36093);
        double r36095 = y;
        double r36096 = pow(r36095, r36093);
        double r36097 = r36094 - r36096;
        return r36097;
}

double f(double x, double y) {
        double r36098 = x;
        double r36099 = 4.0;
        double r36100 = pow(r36098, r36099);
        double r36101 = y;
        double r36102 = pow(r36101, r36099);
        double r36103 = r36100 - r36102;
        return r36103;
}

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