Average Error: 39.9 → 0.0
Time: 5.0s
Precision: 64
Internal precision: 1408
\[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
\[\sqrt{\frac{1 + e^{x}}{1}}\]

Error

Bits error versus x

Derivation

  1. Initial program 39.9

    \[\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. Removed slow pow expressions

Runtime

Time bar (total: 5.0s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1066785882 2324371342 4059510649 1466361199 2701357084 1216585281)'
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))