Average Error: 0.0 → 0.0
Time: 51.4s
Precision: 64
Internal Precision: 384
\[\log \left(\frac{1}{x} + \frac{\sqrt{1 - x \cdot x}}{x}\right)\]
\[\log \left((\left(\sqrt{\frac{1}{x}}\right) \cdot \left(\sqrt{\frac{1}{x}}\right) + \left(\frac{\sqrt{1 - x \cdot x}}{x}\right))_*\right)\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[\log \left(\frac{1}{x} + \frac{\sqrt{1 - x \cdot x}}{x}\right)\]
  2. Using strategy rm
  3. Applied add-sqr-sqrt0.0

    \[\leadsto \log \left(\color{blue}{\sqrt{\frac{1}{x}} \cdot \sqrt{\frac{1}{x}}} + \frac{\sqrt{1 - x \cdot x}}{x}\right)\]
  4. Applied fma-def0.0

    \[\leadsto \log \color{blue}{\left((\left(\sqrt{\frac{1}{x}}\right) \cdot \left(\sqrt{\frac{1}{x}}\right) + \left(\frac{\sqrt{1 - x \cdot x}}{x}\right))_*\right)}\]

Runtime

Time bar (total: 51.4s)Debug logProfile

herbie shell --seed '#(1070578969 3140398606 632207097 462683394 1189254563 964980650)' +o rules:numerics
(FPCore (x)
  :name "Hyperbolic arc-(co)secant"
  (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))))