Average Error: 0.0 → 0.0
Time: 9.1s
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 r166418 = x;
        double r166419 = 4.0;
        double r166420 = pow(r166418, r166419);
        double r166421 = y;
        double r166422 = pow(r166421, r166419);
        double r166423 = r166420 - r166422;
        return r166423;
}

double f(double x, double y) {
        double r166424 = x;
        double r166425 = 4.0;
        double r166426 = pow(r166424, r166425);
        double r166427 = y;
        double r166428 = pow(r166427, r166425);
        double r166429 = r166426 - r166428;
        return r166429;
}

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