Average Error: 0 → 0
Time: 2.2s
Precision: 64
Internal precision: 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

Time bar (total: 2.2s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3204297094 3701492000 1502952922 3359031884 2692503238 4260705831)'
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))