Average Error: 0.6 → 0.6
Time: 2.2m
Precision: 64
Internal Precision: 576
\[\cos^{-1} \left(\frac{1 - 5 \cdot \left(v \cdot v\right)}{v \cdot v - 1}\right)\]
\[\cos^{-1} \left(\log \left(e^{\frac{1 - 5 \cdot \left(v \cdot v\right)}{v \cdot v - 1}}\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-log-exp0.6

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

Runtime

Time bar (total: 2.2m)Debug logProfile

herbie shell --seed '#(1071246582 2318319007 2683472949 3810440501 3233274817 2724848749)' 
(FPCore (v)
  :name "Falkner and Boettcher, Appendix B, 1"
  (acos (/ (- 1 (* 5 (* v v))) (- (* v v) 1))))