Average Error: 0.0 → 0.0
Time: 11.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 r1772320 = x;
        double r1772321 = 4.0;
        double r1772322 = pow(r1772320, r1772321);
        double r1772323 = y;
        double r1772324 = pow(r1772323, r1772321);
        double r1772325 = r1772322 - r1772324;
        return r1772325;
}

double f(double x, double y) {
        double r1772326 = x;
        double r1772327 = 4.0;
        double r1772328 = pow(r1772326, r1772327);
        double r1772329 = y;
        double r1772330 = pow(r1772329, r1772327);
        double r1772331 = r1772328 - r1772330;
        return r1772331;
}

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