Average Error: 0.1 → 0.1
Time: 1.1m
Precision: 64
Internal precision: 128
\[\left(\left(x \cdot \log y - y\right) - z\right) + \log t\]
\[\left(\left(x \cdot \log y - y\right) - z\right) + \log t\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Target

Original0.1
Comparison0.1
Herbie0.1
\[ \left(\left(x \cdot \log y - y\right) - z\right) + \log t \]

Derivation

  1. Initial program 0.1

    \[\left(\left(x \cdot \log y - y\right) - z\right) + \log t\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 1.1m) Debug log

Please include this information when filing a bug report:

herbie --seed '#(4161278114 1864429019 779034131 3743378451 1355571825 333499591)'
(FPCore (x y z t)
  :name "Numeric.SpecFunctions:incompleteGamma from math-functions-0.1.5.2, A"

  :target
  (+ (- (- (* x (log y)) y) z) (log t))

  (+ (- (- (* x (log y)) y) z) (log t)))