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

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))