Average Error: 0.0 → 0.0
Time: 3.1s
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 r22291 = x;
        double r22292 = 4.0;
        double r22293 = pow(r22291, r22292);
        double r22294 = y;
        double r22295 = pow(r22294, r22292);
        double r22296 = r22293 - r22295;
        return r22296;
}

double f(double x, double y) {
        double r22297 = x;
        double r22298 = 4.0;
        double r22299 = pow(r22297, r22298);
        double r22300 = y;
        double r22301 = pow(r22300, r22298);
        double r22302 = r22299 - r22301;
        return r22302;
}

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