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

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original0.1
Comparison0.1
Herbie0.1
\[ \frac{1.0}{2.0} \cdot \left(x + y \cdot \sqrt{z}\right) \]

Derivation

  1. Initial program 0.1

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

Runtime

Time bar (total: 14.0s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3819912943 3855423962 1633580090 3477554428 2118951787 1441139808)'
(FPCore (x y z)
  :name "Diagrams.Solve.Polynomial:quadForm from diagrams-solve-0.1, B"

  :target
  (* (/ 1.0 2.0) (+ x (* y (sqrt z))))

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