Average Error: 0.0 → 0.0
Time: 8.0s
Precision: 64
Internal precision: 128
\[x - y \cdot z\]
\[x - y \cdot z\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original0.0
Comparison0.0
Herbie0.0
\[ \frac{x + y \cdot z}{\frac{x + y \cdot z}{x - y \cdot z}} \]

Derivation

  1. Initial program 0.0

    \[x - y \cdot z\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 8.0s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1184121947 942061951 4257844806 3885278426 2120234665 91746464)'
(FPCore (x y z)
  :name "Diagrams.Solve.Tridiagonal:solveTriDiagonal from diagrams-solve-0.1, C"

  :target
  (/ (+ x (* y z)) (/ (+ x (* y z)) (- x (* y z))))

  (- x (* y z)))