Average Error: 0.0 → 0.0
Time: 19.2s
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 r29115 = x;
        double r29116 = 4.0;
        double r29117 = pow(r29115, r29116);
        double r29118 = y;
        double r29119 = pow(r29118, r29116);
        double r29120 = r29117 - r29119;
        return r29120;
}

double f(double x, double y) {
        double r29121 = x;
        double r29122 = 4.0;
        double r29123 = pow(r29121, r29122);
        double r29124 = y;
        double r29125 = pow(r29124, r29122);
        double r29126 = r29123 - r29125;
        return r29126;
}

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