Average Error: 0.0 → 0.0
Time: 2.8s
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 r31162 = x;
        double r31163 = 4.0;
        double r31164 = pow(r31162, r31163);
        double r31165 = y;
        double r31166 = pow(r31165, r31163);
        double r31167 = r31164 - r31166;
        return r31167;
}

double f(double x, double y) {
        double r31168 = x;
        double r31169 = 4.0;
        double r31170 = pow(r31168, r31169);
        double r31171 = y;
        double r31172 = pow(r31171, r31169);
        double r31173 = r31170 - r31172;
        return r31173;
}

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