Average Error: 0 → 0
Time: 3.0s
Precision: 64
Internal precision: 128
\[\frac{1.0}{2.0} \cdot \left(x + y\right)\]
\[\frac{1.0}{2.0} \cdot \left(x + y\right)\]

Error

Bits error versus x

Bits error versus y

Target

Original0
Comparison0
Herbie0
\[ \frac{x + y}{2.0} \]

Derivation

  1. Initial program 0

    \[\frac{1.0}{2.0} \cdot \left(x + y\right)\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 3.0s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(199471722 2370513182 1369689541 2612989288 1837049441 3524836752)'
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, G"

  :target
  (/ (+ x y) 2.0)

  (* (/ 1.0 2.0) (+ x y)))