Average Error: 0.3 → 0.4
Time: 1.9m
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)} \cdot \sqrt[3]{\log \left(x + y\right)}\right) \cdot \left(\sqrt[3]{\log \left(x + y\right)}\right) + \left(\log z\right))_* - 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(\left(\color{blue}{\left(\sqrt[3]{\log \left(x + y\right)} \cdot \sqrt[3]{\log \left(x + y\right)}\right) \cdot \sqrt[3]{\log \left(x + y\right)}} + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t\]
  4. Applied fma-def0.4

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

Runtime

Time bar (total: 1.9m)Debug logProfile

herbie shell --seed '#(1071852389 864846987 1238109217 3425890003 4124793586 650694553)' +o rules:numerics
(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))))