\[\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t\]
Test:
Numeric.SpecFunctions:logGammaL from math-functions-0.1.5.2
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Bits error versus t
Bits error versus a
Time: 38.3 s
Input Error: 0.2
Output Error: 0.3
Log:
Profile: 🕒
\(\left({\left(\log \left(x + y\right) + \log z\right)}^{1} - t\right) + \left(a - 0.5\right) \cdot \log t\)
  1. Started with
    \[\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t\]
    0.2
  2. Using strategy rm
    0.2
  3. Applied pow1 to get
    \[\left(\color{red}{\left(\log \left(x + y\right) + \log z\right)} - t\right) + \left(a - 0.5\right) \cdot \log t \leadsto \left(\color{blue}{{\left(\log \left(x + y\right) + \log z\right)}^{1}} - t\right) + \left(a - 0.5\right) \cdot \log t\]
    0.3

  4. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default))
  #:name "Numeric.SpecFunctions:logGammaL from math-functions-0.1.5.2"
  (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))