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

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. Applied simplify0.3

    \[\leadsto \color{blue}{\log \left(y + x\right) - \left(t - (\left(a - 0.5\right) \cdot \left(\log t\right) + \left(\log z\right))_*\right)}\]
  3. Using strategy rm
  4. Applied add-cube-cbrt0.4

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

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

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

Runtime

Time bar (total: 2.0m)Debug logProfile

herbie shell --seed 2018201 +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))))