\[\frac{e^{x}}{e^{x} - 1}\]
Test:
NMSE section 3.11
Bits:
128 bits
Bits error versus x
Time: 8.2 s
Input Error: 18.3
Output Error: 0.5
Log:
Profile: 🕒
\({\left(\sqrt[3]{\frac{e^{x}}{x + {x}^2 \cdot \left(\frac{1}{2} + x \cdot \frac{1}{6}\right)}}\right)}^3\)
  1. Started with
    \[\frac{e^{x}}{e^{x} - 1}\]
    18.3
  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.4
  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.4
  4. Using strategy rm
    5.4
  5. Applied add-cube-cbrt to get
    \[\color{red}{\frac{e^{x}}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}} \leadsto \color{blue}{{\left(\sqrt[3]{\frac{e^{x}}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}}\right)}^3}\]
    5.8
  6. Applied simplify to get
    \[{\color{red}{\left(\sqrt[3]{\frac{e^{x}}{\frac{1}{2} \cdot {x}^2 + \left(\frac{1}{6} \cdot {x}^{3} + x\right)}}\right)}}^3 \leadsto {\color{blue}{\left(\sqrt[3]{\frac{e^{x}}{x + {x}^2 \cdot \left(\frac{1}{2} + x \cdot \frac{1}{6}\right)}}\right)}}^3\]
    0.5

Original test:


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