Average Error: 0.0 → 0.0
Time: 17.3s
Precision: 64
Internal precision: 128
\[x + \frac{y - x}{z}\]
\[x + \frac{y - x}{z}\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

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

Derivation

  1. Initial program 0.0

    \[x + \frac{y - x}{z}\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 17.3s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(739704233 4110026228 4283503654 1414223817 2727868602 3701103571)'
(FPCore (x y z)
  :name "Statistics.Sample:$swelfordMean from math-functions-0.1.5.2"

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

  (+ x (/ (- y x) z)))