Average Error: 0.0 → 0.0
Time: 2.1s
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 r18007 = x;
        double r18008 = 4.0;
        double r18009 = pow(r18007, r18008);
        double r18010 = y;
        double r18011 = pow(r18010, r18008);
        double r18012 = r18009 - r18011;
        return r18012;
}

double f(double x, double y) {
        double r18013 = x;
        double r18014 = 4.0;
        double r18015 = pow(r18013, r18014);
        double r18016 = y;
        double r18017 = pow(r18016, r18014);
        double r18018 = r18015 - r18017;
        return r18018;
}

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