Average Error: 0.0 → 0.0
Time: 8.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 r31970 = x;
        double r31971 = 4.0;
        double r31972 = pow(r31970, r31971);
        double r31973 = y;
        double r31974 = pow(r31973, r31971);
        double r31975 = r31972 - r31974;
        return r31975;
}

double f(double x, double y) {
        double r31976 = x;
        double r31977 = 4.0;
        double r31978 = pow(r31976, r31977);
        double r31979 = y;
        double r31980 = pow(r31979, r31977);
        double r31981 = r31978 - r31980;
        return r31981;
}

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)))