Average Error: 0.3 → 0.3
Time: 1.1m
Precision: 64
Internal Precision: 384
\[\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t\]
\[\left(\frac{\log \left(x + y\right) \cdot \log \left(x + y\right) - \log z \cdot \log z}{\log \left(x + y\right) - \log z} - t\right) + \left(a - 0.5\right) \cdot \log t\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Derivation

  1. Initial program 0.3

    \[\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t\]
  2. Using strategy rm
  3. Applied flip-+0.3

    \[\leadsto \left(\color{blue}{\frac{\log \left(x + y\right) \cdot \log \left(x + y\right) - \log z \cdot \log z}{\log \left(x + y\right) - \log z}} - t\right) + \left(a - 0.5\right) \cdot \log t\]

Runtime

Time bar (total: 1.1m)Debug logProfile

herbie shell --seed '#(1064269945 2896236262 301053905 1701069080 1701464310 1614783279)' 
(FPCore (x y z t a)
  :name "Numeric.SpecFunctions:logGammaL from math-functions-0.1.5.2"
  (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))