Average Error: 0.0 → 0.0
Time: 2.8s
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 r8943 = x;
        double r8944 = 4.0;
        double r8945 = pow(r8943, r8944);
        double r8946 = y;
        double r8947 = pow(r8946, r8944);
        double r8948 = r8945 - r8947;
        return r8948;
}

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;
}

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