\[\log_* (1 + {\left(\sinh b\right)}^{\left(\tan^{-1}_* \frac{a}{\sin a}\right)})\]
Test:
(log1p (pow (sinh b) (atan2 a (sin a))))
Bits:
128 bits
Bits error versus a
Bits error versus b
Time: 9.6 s
Input Error: 5.7
Output Error: 5.7
Log:
Profile: 🕒
\(\log_* (1 + e^{\log \left({\left(\sinh b\right)}^{\left(\tan^{-1}_* \frac{a}{\sin a}\right)}\right)})\)
  1. Started with
    \[\log_* (1 + {\left(\sinh b\right)}^{\left(\tan^{-1}_* \frac{a}{\sin a}\right)})\]
    5.7
  2. Using strategy rm
    5.7
  3. Applied add-exp-log to get
    \[\log_* (1 + \color{red}{{\left(\sinh b\right)}^{\left(\tan^{-1}_* \frac{a}{\sin a}\right)}}) \leadsto \log_* (1 + \color{blue}{e^{\log \left({\left(\sinh b\right)}^{\left(\tan^{-1}_* \frac{a}{\sin a}\right)}\right)}})\]
    5.7

  4. Removed slow pow expressions

Original test:


(lambda ((a default) (b default))
  #:name "(log1p (pow (sinh b) (atan2 a (sin a))))"
  (log1p (pow (sinh b) (atan2 a (sin a)))))