Average Error: 0.0 → 0.0
Time: 1.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 r21079 = x;
        double r21080 = 4.0;
        double r21081 = pow(r21079, r21080);
        double r21082 = y;
        double r21083 = pow(r21082, r21080);
        double r21084 = r21081 - r21083;
        return r21084;
}

double f(double x, double y) {
        double r21085 = x;
        double r21086 = 4.0;
        double r21087 = pow(r21085, r21086);
        double r21088 = y;
        double r21089 = pow(r21088, r21086);
        double r21090 = r21087 - r21089;
        return r21090;
}

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