\[(e^{a} - 1)^* \cdot \cot a\]
Test:
(* (expm1 a) (cotan a))
Bits:
128 bits
Bits error versus a
Bits error versus b
Time: 4.1 s
Input Error: 0.2
Output Error: 0.2
Log:
Profile: 🕒
\((e^{a} - 1)^* \cdot \frac{\cos a}{\sin a}\)
  1. Started with
    \[(e^{a} - 1)^* \cdot \cot a\]
    0.2
  2. Using strategy rm
    0.2
  3. Applied cotan-quot to get
    \[(e^{a} - 1)^* \cdot \color{red}{\cot a} \leadsto (e^{a} - 1)^* \cdot \color{blue}{\frac{\cos a}{\sin a}}\]
    0.2

Original test:


(lambda ((a default) (b default))
  #:name "(* (expm1 a) (cotan a))"
  (* (expm1 a) (cotan a)))