Average Error: 0 → 0
Time: 5.8s
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}\]
  2. Removed slow pow expressions.

Runtime

Time bar (total: 5.8s)Debug logProfile

herbie shell --seed '#(1062930989 876886121 3990119081 3032829768 3060892583 1929069376)' 
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))