Average Error: 39.5 → 0.0
Time: 5.3s
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.5

    \[\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.3s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1065003094 2074156664 2352254222 753858891 3745550101 3374585842)'
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))