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 r29278 = x;
        double r29279 = 4.0;
        double r29280 = pow(r29278, r29279);
        double r29281 = y;
        double r29282 = pow(r29281, r29279);
        double r29283 = r29280 - r29282;
        return r29283;
}

double f(double x, double y) {
        double r29284 = x;
        double r29285 = 4.0;
        double r29286 = pow(r29284, r29285);
        double r29287 = y;
        double r29288 = pow(r29287, r29285);
        double r29289 = r29286 - r29288;
        return r29289;
}

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