Average Error: 0.0 → 0.0
Time: 7.7s
Precision: 64
Internal precision: 384
\[\frac{x + y}{x - y}\]
\[\frac{1}{\frac{x - y}{x + y}}\]

Error

Bits error versus x

Bits error versus y

Derivation

  1. Initial program 0.0

    \[\frac{x + y}{x - y}\]
  2. Using strategy rm
  3. Applied clear-num 0.0

    \[\leadsto \color{blue}{\frac{1}{\frac{x - y}{x + y}}}\]
  4. Removed slow pow expressions

Runtime

Time bar (total: 7.7s) Debug log

Please include this information when filing a bug report:

herbie shell --seed '#(3052192724 3812927732 3686175817 630908657 2373248591 511094450)'
(FPCore (x y)
  :name "test03_nonlin2"
  :pre (and (< 0 x 1) (< -1 y -0.1))
  (/ (+ x y) (- x y)))