\[\frac{e^{x} - 1}{x}\]
Test:
Kahan's exp quotient
Bits:
128 bits
Bits error versus x
Time: 4.9 s
Input Error: 40.1
Output Error: 0.0
Log:
Profile: 🕒
\(\frac{1}{\frac{x}{(e^{x} - 1)^*}}\)
  1. Started with
    \[\frac{e^{x} - 1}{x}\]
    40.1
  2. Applied simplify to get
    \[\color{red}{\frac{e^{x} - 1}{x}} \leadsto \color{blue}{\frac{(e^{x} - 1)^*}{x}}\]
    0.0
  3. Using strategy rm
    0.0
  4. Applied clear-num to get
    \[\color{red}{\frac{(e^{x} - 1)^*}{x}} \leadsto \color{blue}{\frac{1}{\frac{x}{(e^{x} - 1)^*}}}\]
    0.0

Original test:


(lambda ((x default))
  #:name "Kahan's exp quotient"
  (/ (- (exp x) 1) x)
  #:target
  (if (and (< x 1) (> x -1)) (/ (- (exp x) 1) (log (exp x))) (/ (- (exp x) 1) x)))