Average Error: 1.9 → 1.9
Time: 54.7s
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{e^{(y \cdot \left(\log z\right) + \left((\left(t - 1.0\right) \cdot \left(\log a\right) + \left(-b\right))_*\right))_*} \cdot x}{y}\]

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.9

    \[\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 add-log-exp1.9

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

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

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

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

Runtime

Time bar (total: 54.7s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes1.91.90.01.90%
herbie shell --seed 2018353 +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))