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

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 39.7

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

    \[\leadsto \sqrt{e^{x} + 1}\]
  3. Using strategy rm
  4. Applied flip3-+0.0

    \[\leadsto \sqrt{\color{blue}{\frac{{\left(e^{x}\right)}^{3} + {1}^{3}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}}\]
  5. Using strategy rm
  6. Applied pow-exp0.0

    \[\leadsto \sqrt{\frac{\color{blue}{e^{x \cdot 3}} + {1}^{3}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}\]
  7. Final simplification0.0

    \[\leadsto \sqrt{\frac{e^{x \cdot 3} + 1}{e^{x} \cdot e^{x} + \left(1 - e^{x}\right)}}\]

Runtime

Time bar (total: 20.5s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.00.00.00%
herbie shell --seed 2018354 +o rules:numerics
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))