Average Error: 0.2 → 0.3
Time: 36.6s
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{{\left(\log \left(y + x\right)\right)}^3 + {\left(\log z\right)}^3}{\log z \cdot \left(\log z - \log \left(y + x\right)\right) + {\left(\log \left(y + x\right)\right)}^2} - 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.2

    \[\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 flip3-+ 0.3

    \[\leadsto \left(\color{blue}{\frac{{\left(\log \left(x + y\right)\right)}^{3} + {\left(\log z\right)}^{3}}{{\left(\log \left(x + y\right)\right)}^2 + \left({\left(\log z\right)}^2 - \log \left(x + y\right) \cdot \log z\right)}} - t\right) + \left(a - 0.5\right) \cdot \log t\]
  4. Applied simplify 0.3

    \[\leadsto \left(\frac{\color{blue}{{\left(\log \left(y + x\right)\right)}^3 + {\left(\log z\right)}^3}}{{\left(\log \left(x + y\right)\right)}^2 + \left({\left(\log z\right)}^2 - \log \left(x + y\right) \cdot \log z\right)} - t\right) + \left(a - 0.5\right) \cdot \log t\]
  5. Applied simplify 0.3

    \[\leadsto \left(\frac{{\left(\log \left(y + x\right)\right)}^3 + {\left(\log z\right)}^3}{\color{blue}{\log z \cdot \left(\log z - \log \left(y + x\right)\right) + {\left(\log \left(y + x\right)\right)}^2}} - t\right) + \left(a - 0.5\right) \cdot \log t\]
  6. Removed slow pow expressions

Runtime

Time bar (total: 36.6s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(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))))