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

herbie shell --seed '#(1070960995 739739648 2531964651 3069671617 351857262 3877178482)' +o rules:numerics
(FPCore (a b)
  :name "fabs fraction 2"
  (/ (fabs (- a b)) 2))