Average Error: 0.3 → 0.4
Time: 3.8m
Precision: 64
Internal Precision: 576
\[\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t\]
\[\left(\left(\sqrt[3]{\log \left(x + y\right) + \log z} \cdot \sqrt[3]{\log \left(x + y\right) + \log z}\right) \cdot \sqrt[3]{\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 add-cube-cbrt0.4

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

Runtime

Time bar (total: 3.8m)Debug logProfile

herbie shell --seed '#(1072840222 1305617769 1692503039 1353360431 4178980589 1488672652)' 
(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))))