Average Error: 0.0 → 0.0
Time: 5.1s
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 r25015 = x;
        double r25016 = 4.0;
        double r25017 = pow(r25015, r25016);
        double r25018 = y;
        double r25019 = pow(r25018, r25016);
        double r25020 = r25017 - r25019;
        return r25020;
}

double f(double x, double y) {
        double r25021 = x;
        double r25022 = 4.0;
        double r25023 = pow(r25021, r25022);
        double r25024 = y;
        double r25025 = pow(r25024, r25022);
        double r25026 = r25023 - r25025;
        return r25026;
}

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