Average Error: 0.0 → 0.0
Time: 3.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 r18683 = x;
        double r18684 = 4.0;
        double r18685 = pow(r18683, r18684);
        double r18686 = y;
        double r18687 = pow(r18686, r18684);
        double r18688 = r18685 - r18687;
        return r18688;
}

double f(double x, double y) {
        double r18689 = x;
        double r18690 = 4.0;
        double r18691 = pow(r18689, r18690);
        double r18692 = y;
        double r18693 = pow(r18692, r18690);
        double r18694 = r18691 - r18693;
        return r18694;
}

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)))