Average Error: 0.0 → 0.0
Time: 7.3s
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 r129259 = x;
        double r129260 = 4.0;
        double r129261 = pow(r129259, r129260);
        double r129262 = y;
        double r129263 = pow(r129262, r129260);
        double r129264 = r129261 - r129263;
        return r129264;
}

double f(double x, double y) {
        double r129265 = x;
        double r129266 = 4.0;
        double r129267 = pow(r129265, r129266);
        double r129268 = y;
        double r129269 = pow(r129268, r129266);
        double r129270 = r129267 - r129269;
        return r129270;
}

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