Average Error: 0.0 → 0.0
Time: 11.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 r1416005 = x;
        double r1416006 = 4.0;
        double r1416007 = pow(r1416005, r1416006);
        double r1416008 = y;
        double r1416009 = pow(r1416008, r1416006);
        double r1416010 = r1416007 - r1416009;
        return r1416010;
}

double f(double x, double y) {
        double r1416011 = x;
        double r1416012 = 4.0;
        double r1416013 = pow(r1416011, r1416012);
        double r1416014 = y;
        double r1416015 = pow(r1416014, r1416012);
        double r1416016 = r1416013 - r1416015;
        return r1416016;
}

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 2019171 +o rules:numerics
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4.0) (pow y 4.0)))