Average Error: 0.6 → 0.6
Time: 1.1m
Precision: 64
Internal Precision: 384
\[\cos^{-1} \left(\frac{1 - 5 \cdot \left(v \cdot v\right)}{v \cdot v - 1}\right)\]
\[e^{\log \left(\cos^{-1} \left(\frac{1}{\frac{v \cdot v - 1}{1 - 5 \cdot \left(v \cdot v\right)}}\right)\right)}\]

Error

Bits error versus v

Derivation

  1. Initial program 0.6

    \[\cos^{-1} \left(\frac{1 - 5 \cdot \left(v \cdot v\right)}{v \cdot v - 1}\right)\]
  2. Using strategy rm
  3. Applied add-exp-log0.6

    \[\leadsto \color{blue}{e^{\log \left(\cos^{-1} \left(\frac{1 - 5 \cdot \left(v \cdot v\right)}{v \cdot v - 1}\right)\right)}}\]
  4. Using strategy rm
  5. Applied clear-num0.6

    \[\leadsto e^{\log \left(\cos^{-1} \color{blue}{\left(\frac{1}{\frac{v \cdot v - 1}{1 - 5 \cdot \left(v \cdot v\right)}}\right)}\right)}\]

Runtime

Time bar (total: 1.1m)Debug logProfile

herbie shell --seed '#(1070355188 2193211668 3977393919 3454156579 3755371326 1656365382)' +o rules:numerics
(FPCore (v)
  :name "Falkner and Boettcher, Appendix B, 1"
  (acos (/ (- 1 (* 5 (* v v))) (- (* v v) 1))))