Average Error: 0.0 → 0.0
Time: 11.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 r2145136 = x;
        double r2145137 = 4.0;
        double r2145138 = pow(r2145136, r2145137);
        double r2145139 = y;
        double r2145140 = pow(r2145139, r2145137);
        double r2145141 = r2145138 - r2145140;
        return r2145141;
}

double f(double x, double y) {
        double r2145142 = x;
        double r2145143 = 4.0;
        double r2145144 = pow(r2145142, r2145143);
        double r2145145 = y;
        double r2145146 = pow(r2145145, r2145143);
        double r2145147 = r2145144 - r2145146;
        return r2145147;
}

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 2019174 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4.0) (pow y 4.0)))