Average Error: 0.3 → 0.3
Time: 1.5s
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 r747132 = x;
        double r747133 = y;
        double r747134 = 3.0;
        double r747135 = r747133 * r747134;
        double r747136 = r747132 / r747135;
        return r747136;
}

double f(double x, double y) {
        double r747137 = x;
        double r747138 = y;
        double r747139 = 3.0;
        double r747140 = r747138 * r747139;
        double r747141 = r747137 / r747140;
        return r747141;
}

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.3
Target0.2
Herbie0.3
\[\frac{\frac{x}{y}}{3}\]

Derivation

  1. Initial program 0.3

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

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

Reproduce

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

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

  (/ x (* y 3)))