\[\frac{e^{x}}{e^{x} - 1}\]
Test:
NMSE section 3.11
Bits:
128 bits
Bits error versus x
Time: 4.5 s
Input Error: 18.0
Output Error: 5.3
Log:
Profile: 🕒
\(\frac{e^{x}}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}\)
  1. Started with
    \[\frac{e^{x}}{e^{x} - 1}\]
    18.0
  2. Applied taylor to get
    \[\frac{e^{x}}{e^{x} - 1} \leadsto \frac{e^{x}}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}\]
    5.3
  3. Taylor expanded around 0 to get
    \[\frac{e^{x}}{\color{red}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}} \leadsto \frac{e^{x}}{\color{blue}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}}\]
    5.3

Original test:


(lambda ((x default))
  #:name "NMSE section 3.11"
  (/ (exp x) (- (exp x) 1))
  #:target
  (/ 1 (- 1 (exp (- x)))))