Average Error: 0.0 → 0.0
Time: 5.8s
Precision: 64
Internal Precision: 384
\[\frac{-\left(f + n\right)}{f - n}\]
\[\frac{-\left(f + n\right)}{f - n}\]

Error

Bits error versus f

Bits error versus n

Derivation

  1. Initial program 0.0

    \[\frac{-\left(f + n\right)}{f - n}\]

Runtime

Time bar (total: 5.8s)Debug log

herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(FPCore (f n)
  :name "subtraction fraction"
  (/ (- (+ f n)) (- f n)))