Average Error: 0 → 0
Time: 3.5s
Precision: 64
Internal Precision: 384
\[\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}\]

Runtime

Time bar (total: 3.5s)Debug log

herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))