Average Error: 0.0 → 0.0
Time: 1.2s
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 r29809 = x;
        double r29810 = 4.0;
        double r29811 = pow(r29809, r29810);
        double r29812 = y;
        double r29813 = pow(r29812, r29810);
        double r29814 = r29811 - r29813;
        return r29814;
}

double f(double x, double y) {
        double r29815 = x;
        double r29816 = 4.0;
        double r29817 = pow(r29815, r29816);
        double r29818 = y;
        double r29819 = pow(r29818, r29816);
        double r29820 = r29817 - r29819;
        return r29820;
}

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