Average Error: 0.0 → 0.0
Time: 3.0s
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 r8949 = x;
        double r8950 = 4.0;
        double r8951 = pow(r8949, r8950);
        double r8952 = y;
        double r8953 = pow(r8952, r8950);
        double r8954 = r8951 - r8953;
        return r8954;
}

double f(double x, double y) {
        double r8955 = x;
        double r8956 = 4.0;
        double r8957 = pow(r8955, r8956);
        double r8958 = y;
        double r8959 = pow(r8958, r8956);
        double r8960 = r8957 - r8959;
        return r8960;
}

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 2019107 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4) (pow y 4)))