Average Error: 0.0 → 0.0
Time: 7.9s
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 r31965 = x;
        double r31966 = 4.0;
        double r31967 = pow(r31965, r31966);
        double r31968 = y;
        double r31969 = pow(r31968, r31966);
        double r31970 = r31967 - r31969;
        return r31970;
}

double f(double x, double y) {
        double r31971 = x;
        double r31972 = 4.0;
        double r31973 = pow(r31971, r31972);
        double r31974 = y;
        double r31975 = pow(r31974, r31972);
        double r31976 = r31973 - r31975;
        return r31976;
}

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