Average Error: 0.0 → 0.0
Time: 2.6s
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 r18156 = x;
        double r18157 = 4.0;
        double r18158 = pow(r18156, r18157);
        double r18159 = y;
        double r18160 = pow(r18159, r18157);
        double r18161 = r18158 - r18160;
        return r18161;
}

double f(double x, double y) {
        double r18162 = x;
        double r18163 = 4.0;
        double r18164 = pow(r18162, r18163);
        double r18165 = y;
        double r18166 = pow(r18165, r18163);
        double r18167 = r18164 - r18166;
        return r18167;
}

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