Average Error: 0 → 0
Time: 6.7s
Precision: 64
Ground Truth: 128
\[\frac{\left|a - b\right|}{2}\]
\[\frac{\left|a - b\right|}{2}\]

Error

Bits error versus a

Bits error versus b

Derivation

  1. Initial program 0

    \[\frac{\left|a - b\right|}{2}\]
  2. Removed slow pow expressions

Runtime

Total time: 6.7s Debug log

Please include this information when filing a bug report:

herbie --seed '#(3531740764 44168776 2200042278 2101404500 3777501481 2906830131)'
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))