Average Error: 0.0 → 0.0
Time: 8.5s
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 r28085 = x;
        double r28086 = 4.0;
        double r28087 = pow(r28085, r28086);
        double r28088 = y;
        double r28089 = pow(r28088, r28086);
        double r28090 = r28087 - r28089;
        return r28090;
}

double f(double x, double y) {
        double r28091 = x;
        double r28092 = 4.0;
        double r28093 = pow(r28091, r28092);
        double r28094 = y;
        double r28095 = pow(r28094, r28092);
        double r28096 = r28093 - r28095;
        return r28096;
}

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