Average Error: 0.5 → 0.1
Time: 2.9m
Precision: 64
Internal Precision: 128
\[\frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 - v \cdot v\right)}\]
\[(\left((v \cdot v + 1)_*\right) \cdot \left(v \cdot v\right) + 1)_* \cdot \frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{(\left(v \cdot v\right) \cdot -3 + 1)_* \cdot 2}}}{\left(1 - {\left(v \cdot v\right)}^{3}\right) \cdot t}\]

Error

Bits error versus v

Bits error versus t

Derivation

  1. Initial program 0.5

    \[\frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 - v \cdot v\right)}\]
  2. Initial simplification0.3

    \[\leadsto \frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{2 \cdot (\left(v \cdot v\right) \cdot -3 + 1)_*} \cdot \left(t \cdot \left(1 - v \cdot v\right)\right)}\]
  3. Using strategy rm
  4. Applied associate-/r*0.1

    \[\leadsto \color{blue}{\frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{2 \cdot (\left(v \cdot v\right) \cdot -3 + 1)_*}}}{t \cdot \left(1 - v \cdot v\right)}}\]
  5. Using strategy rm
  6. Applied flip3--0.1

    \[\leadsto \frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{2 \cdot (\left(v \cdot v\right) \cdot -3 + 1)_*}}}{t \cdot \color{blue}{\frac{{1}^{3} - {\left(v \cdot v\right)}^{3}}{1 \cdot 1 + \left(\left(v \cdot v\right) \cdot \left(v \cdot v\right) + 1 \cdot \left(v \cdot v\right)\right)}}}\]
  7. Applied associate-*r/0.1

    \[\leadsto \frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{2 \cdot (\left(v \cdot v\right) \cdot -3 + 1)_*}}}{\color{blue}{\frac{t \cdot \left({1}^{3} - {\left(v \cdot v\right)}^{3}\right)}{1 \cdot 1 + \left(\left(v \cdot v\right) \cdot \left(v \cdot v\right) + 1 \cdot \left(v \cdot v\right)\right)}}}\]
  8. Applied associate-/r/0.1

    \[\leadsto \color{blue}{\frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{2 \cdot (\left(v \cdot v\right) \cdot -3 + 1)_*}}}{t \cdot \left({1}^{3} - {\left(v \cdot v\right)}^{3}\right)} \cdot \left(1 \cdot 1 + \left(\left(v \cdot v\right) \cdot \left(v \cdot v\right) + 1 \cdot \left(v \cdot v\right)\right)\right)}\]
  9. Simplified0.1

    \[\leadsto \frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{2 \cdot (\left(v \cdot v\right) \cdot -3 + 1)_*}}}{t \cdot \left({1}^{3} - {\left(v \cdot v\right)}^{3}\right)} \cdot \color{blue}{(\left((v \cdot v + 1)_*\right) \cdot \left(v \cdot v\right) + 1)_*}\]
  10. Final simplification0.1

    \[\leadsto (\left((v \cdot v + 1)_*\right) \cdot \left(v \cdot v\right) + 1)_* \cdot \frac{\frac{\frac{(\left(v \cdot v\right) \cdot -5 + 1)_*}{\pi}}{\sqrt{(\left(v \cdot v\right) \cdot -3 + 1)_* \cdot 2}}}{\left(1 - {\left(v \cdot v\right)}^{3}\right) \cdot t}\]

Runtime

Time bar (total: 2.9m)Debug logProfile

herbie shell --seed 2018273 +o rules:numerics
(FPCore (v t)
  :name "Falkner and Boettcher, Equation (20:1,3)"
  (/ (- 1 (* 5 (* v v))) (* (* (* PI t) (sqrt (* 2 (- 1 (* 3 (* v v)))))) (- 1 (* v v)))))