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

herbie shell --seed '#(1063185673 2139736501 2393378123 1907444849 1070993796 1007244912)' 
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))