Average Error: 0 → 0
Time: 1.6s
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: 1.6s)Debug logProfile

herbie shell --seed '#(1064300848 3212030778 2049303162 3567222883 2277747821 1384278011)' +o rules:numerics
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))