Average Error: 0.0 → 0.0
Time: 37.2s
Precision: 64
Internal precision: 128
\[x + \left(y - x\right) \cdot z\]
\[x + \left(y - x\right) \cdot z\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original0.0
Comparison0.0
Herbie0.0
\[ x + \left(y - x\right) \cdot z \]

Derivation

  1. Initial program 0.0

    \[x + \left(y - x\right) \cdot z\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 37.2s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3384387684 249683170 3608466795 3932600155 3217508577 2619119151)'
(FPCore (x y z)
  :name "Diagrams.ThreeD.Shapes:frustum from diagrams-lib-1.3.0.3, B"

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

  (+ x (* (- y x) z)))