Average Error: 2.0 → 2.0
Time: 59.2s
Precision: 64
Internal Precision: 576
\[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
\[\frac{x \cdot e^{\left(\left(t - 1.0\right) \cdot \log a + \log z \cdot y\right) - b}}{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

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 2.0

    \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
  2. Taylor expanded around inf 2.0

    \[\leadsto \frac{x \cdot e^{\left(y \cdot \log z + \color{blue}{\left(1.0 \cdot \log \left(\frac{1}{a}\right) - t \cdot \log \left(\frac{1}{a}\right)\right)}\right) - b}}{y}\]
  3. Simplified2.0

    \[\leadsto \frac{x \cdot e^{\left(y \cdot \log z + \color{blue}{\log a \cdot \left(t - 1.0\right)}\right) - b}}{y}\]
  4. Final simplification2.0

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

Runtime

Time bar (total: 59.2s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes2.02.00.02.00%
herbie shell --seed 2018274 +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))