Average Error: 0.0 → 0.0
Time: 12.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 r277144 = x;
        double r277145 = 4.0;
        double r277146 = pow(r277144, r277145);
        double r277147 = y;
        double r277148 = pow(r277147, r277145);
        double r277149 = r277146 - r277148;
        return r277149;
}

double f(double x, double y) {
        double r277150 = x;
        double r277151 = 4.0;
        double r277152 = pow(r277150, r277151);
        double r277153 = y;
        double r277154 = pow(r277153, r277151);
        double r277155 = r277152 - r277154;
        return r277155;
}

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