Average Error: 0.0 → 0.0
Time: 7.0s
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 r14083 = x;
        double r14084 = 4.0;
        double r14085 = pow(r14083, r14084);
        double r14086 = y;
        double r14087 = pow(r14086, r14084);
        double r14088 = r14085 - r14087;
        return r14088;
}

double f(double x, double y) {
        double r14089 = x;
        double r14090 = 4.0;
        double r14091 = pow(r14089, r14090);
        double r14092 = y;
        double r14093 = pow(r14092, r14090);
        double r14094 = r14091 - r14093;
        return r14094;
}

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