Average Error: 0.0 → 0.0
Time: 5.7s
Precision: 64
Internal Precision: 320
\[1 - 2 \cdot \frac{v}{1 + {v}^{2}}\]
\[1 - \frac{2 \cdot v}{1 + v \cdot v}\]

Error

Bits error versus v

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[1 - 2 \cdot \frac{v}{1 + {v}^{2}}\]
  2. Initial simplification0.0

    \[\leadsto 1 - \frac{2 \cdot v}{v \cdot v + 1}\]
  3. Final simplification0.0

    \[\leadsto 1 - \frac{2 \cdot v}{1 + v \cdot v}\]

Runtime

Time bar (total: 5.7s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (v)
  :name "1 - 2v/(1+v^2)"
  (- 1 (* 2 (/ v (+ 1 (pow v 2))))))