Average Error: 0.0 → 0.0
Time: 1.5m
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: 1.5m)Debug logProfile

herbie shell --seed '#(1070833653 108281690 3330367898 3632331308 3494323072 43156186)' +o rules:numerics
(FPCore (f n)
  :name "subtraction fraction"
  (/ (- (+ f n)) (- f n)))