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

Error

Bits error versus x

Derivation

  1. Initial program 39.9

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

    \[\leadsto \color{blue}{\sqrt{1 + e^{x}}}\]

Runtime

Time bar (total: 12.4s)Debug logProfile

herbie shell --seed '#(1071948828 1180510430 2986424009 997076509 406109801 420189285)' 
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))