Average Error: 0.0 → 0.0
Time: 7.4s
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 r1065021 = x;
        double r1065022 = 4.0;
        double r1065023 = pow(r1065021, r1065022);
        double r1065024 = y;
        double r1065025 = pow(r1065024, r1065022);
        double r1065026 = r1065023 - r1065025;
        return r1065026;
}

double f(double x, double y) {
        double r1065027 = x;
        double r1065028 = 4.0;
        double r1065029 = pow(r1065027, r1065028);
        double r1065030 = y;
        double r1065031 = pow(r1065030, r1065028);
        double r1065032 = r1065029 - r1065031;
        return r1065032;
}

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