Average Error: 0.0 → 0.0
Time: 3.5s
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 r27838 = x;
        double r27839 = 4.0;
        double r27840 = pow(r27838, r27839);
        double r27841 = y;
        double r27842 = pow(r27841, r27839);
        double r27843 = r27840 - r27842;
        return r27843;
}

double f(double x, double y) {
        double r27844 = x;
        double r27845 = 4.0;
        double r27846 = pow(r27844, r27845);
        double r27847 = y;
        double r27848 = pow(r27847, r27845);
        double r27849 = r27846 - r27848;
        return r27849;
}

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