Average Error: 39.7 → 0.0
Time: 5.6s
Precision: 64
Internal precision: 1408
\[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
\[e^{\log \left(\sqrt{\frac{1 + e^{x}}{1}}\right)}\]

Error

Bits error versus x

Derivation

  1. Initial program 39.7

    \[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
  2. Applied simplify 0.0

    \[\leadsto \color{blue}{\sqrt{\frac{1 + e^{x}}{1}}}\]
  3. Using strategy rm
  4. Applied add-exp-log 0.0

    \[\leadsto \color{blue}{e^{\log \left(\sqrt{\frac{1 + e^{x}}{1}}\right)}}\]
  5. Removed slow pow expressions

Runtime

Time bar (total: 5.6s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))