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 r22322 = x;
        double r22323 = 4.0;
        double r22324 = pow(r22322, r22323);
        double r22325 = y;
        double r22326 = pow(r22325, r22323);
        double r22327 = r22324 - r22326;
        return r22327;
}

double f(double x, double y) {
        double r22328 = x;
        double r22329 = 4.0;
        double r22330 = pow(r22328, r22329);
        double r22331 = y;
        double r22332 = pow(r22331, r22329);
        double r22333 = r22330 - r22332;
        return r22333;
}

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