Average Error: 0.0 → 0.0
Time: 1.4s
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 r20955 = x;
        double r20956 = 4.0;
        double r20957 = pow(r20955, r20956);
        double r20958 = y;
        double r20959 = pow(r20958, r20956);
        double r20960 = r20957 - r20959;
        return r20960;
}

double f(double x, double y) {
        double r20961 = x;
        double r20962 = 4.0;
        double r20963 = pow(r20961, r20962);
        double r20964 = y;
        double r20965 = pow(r20964, r20962);
        double r20966 = r20963 - r20965;
        return r20966;
}

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