Average Error: 0.2 → 0.2
Time: 8.2s
Precision: 64
\[\frac{x}{y \cdot 3}\]
\[\frac{x}{y \cdot 3}\]
\frac{x}{y \cdot 3}
\frac{x}{y \cdot 3}
double f(double x, double y) {
        double r894046 = x;
        double r894047 = y;
        double r894048 = 3.0;
        double r894049 = r894047 * r894048;
        double r894050 = r894046 / r894049;
        return r894050;
}

double f(double x, double y) {
        double r894051 = x;
        double r894052 = y;
        double r894053 = 3.0;
        double r894054 = r894052 * r894053;
        double r894055 = r894051 / r894054;
        return r894055;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original0.2
Target0.2
Herbie0.2
\[\frac{\frac{x}{y}}{3}\]

Derivation

  1. Initial program 0.2

    \[\frac{x}{y \cdot 3}\]
  2. Final simplification0.2

    \[\leadsto \frac{x}{y \cdot 3}\]

Reproduce

herbie shell --seed 2020046 
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, C"
  :precision binary64

  :herbie-target
  (/ (/ x y) 3)

  (/ x (* y 3)))