Average Error: 1.8 → 1.9
Time: 41.6s
Precision: 64
Internal Precision: 128
\[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
\[\frac{x}{\frac{y}{e^{(y \cdot \left(\log z\right) + \left((\left(t - 1.0\right) \cdot \left(\log a\right) + \left(-b\right))_*\right))_*}}}\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Derivation

  1. Initial program 1.8

    \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
  2. Using strategy rm
  3. Applied associate-/l*1.9

    \[\leadsto \color{blue}{\frac{x}{\frac{y}{e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}}}\]
  4. Using strategy rm
  5. Applied add-log-exp1.9

    \[\leadsto \frac{x}{\frac{y}{e^{\color{blue}{\log \left(e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}\right)}}}}\]
  6. Applied rem-exp-log1.9

    \[\leadsto \frac{x}{\frac{y}{\color{blue}{e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}}}\]
  7. Simplified1.9

    \[\leadsto \frac{x}{\frac{y}{e^{\color{blue}{(y \cdot \left(\log z\right) + \left((\left(t - 1.0\right) \cdot \left(\log a\right) + \left(-b\right))_*\right))_*}}}}\]
  8. Final simplification1.9

    \[\leadsto \frac{x}{\frac{y}{e^{(y \cdot \left(\log z\right) + \left((\left(t - 1.0\right) \cdot \left(\log a\right) + \left(-b\right))_*\right))_*}}}\]

Reproduce

herbie shell --seed 2019026 +o rules:numerics
(FPCore (x y z t a b)
  :name "Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2"
  (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))