\[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
Test:
Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Bits error versus t
Bits error versus a
Bits error versus b
Time: 1.8 m
Input Error: 23.5
Output Error: 1.7
Log:
Profile: 🕒
\(\begin{cases} \frac{\left(x \cdot {z}^{y}\right) \cdot \left(\log a \cdot t + \left(1 - b\right)\right)}{\frac{y}{{\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}}} & \text{when } y \le -9.164850813852424 \cdot 10^{+117} \\ \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \cdot \frac{{z}^{\left(\frac{-1}{y}\right)}}{\frac{y}{x}} & \text{when } y \le -286961.2529092949 \\ \frac{\left(x \cdot {z}^{y}\right) \cdot e^{\log a \cdot \left(t - 1.0\right) - b}}{y} & \text{when } y \le -5.4112869105915806 \cdot 10^{-27} \\ \frac{\left(x \cdot {z}^{y}\right) \cdot e^{\log a \cdot \left(t - 1.0\right) - b}}{y} & \text{when } y \le 31.015116915442384 \\ \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \cdot \frac{{z}^{\left(\frac{-1}{y}\right)}}{\frac{y}{x}} & \text{when } y \le 1.2259937010223786 \cdot 10^{+132} \\ \frac{\left(x \cdot {z}^{y}\right) \cdot \left(\log a \cdot t + \left(1 - b\right)\right)}{\frac{y}{{\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}}} & \text{otherwise} \end{cases}\)

    if y < -9.164850813852424e+117 or 1.2259937010223786e+132 < y

    1. Started with
      \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
      36.0
    2. Applied simplify to get
      \[\color{red}{\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}} \leadsto \color{blue}{\left(\frac{x}{y} \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}\]
      27.0
    3. Using strategy rm
      27.0
    4. Applied associate-*l/ to get
      \[\color{red}{\left(\frac{x}{y} \cdot {z}^{y}\right)} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \leadsto \color{blue}{\frac{x \cdot {z}^{y}}{y}} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}\]
      27.0
    5. Applied associate-*l/ to get
      \[\color{red}{\frac{x \cdot {z}^{y}}{y} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}} \leadsto \color{blue}{\frac{\left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}{y}}\]
      27.0
    6. Applied taylor to get
      \[\frac{\left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}{y} \leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \left(\left({\left(\frac{1}{{a}^{1.0}}\right)}^{1.0} + \left(\log a \cdot t\right) \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right) - b \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right)}{y}\]
      13.2
    7. Taylor expanded around 0 to get
      \[\frac{\left(x \cdot {z}^{y}\right) \cdot \color{red}{\left(\left({\left(\frac{1}{{a}^{1.0}}\right)}^{1.0} + \left(\log a \cdot t\right) \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right) - b \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right)}}{y} \leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \color{blue}{\left(\left({\left(\frac{1}{{a}^{1.0}}\right)}^{1.0} + \left(\log a \cdot t\right) \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right) - b \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right)}}{y}\]
      13.2
    8. Applied simplify to get
      \[\color{red}{\frac{\left(x \cdot {z}^{y}\right) \cdot \left(\left({\left(\frac{1}{{a}^{1.0}}\right)}^{1.0} + \left(\log a \cdot t\right) \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right) - b \cdot {\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}\right)}{y}} \leadsto \color{blue}{\frac{\left(x \cdot {z}^{y}\right) \cdot \left(\log a \cdot t + \left(1 - b\right)\right)}{\frac{y}{{\left(\frac{1}{{a}^{1.0}}\right)}^{1.0}}}}\]
      0.3

    if -9.164850813852424e+117 < y < -286961.2529092949 or 31.015116915442384 < y < 1.2259937010223786e+132

    1. Started with
      \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
      36.7
    2. Applied simplify to get
      \[\color{red}{\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}} \leadsto \color{blue}{\left(\frac{x}{y} \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}\]
      40.3
    3. Applied taylor to get
      \[\left(\frac{x}{y} \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \leadsto \frac{e^{-1 \cdot \frac{\log z}{y}} \cdot x}{y} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}\]
      1.2
    4. Taylor expanded around inf to get
      \[\color{red}{\frac{e^{-1 \cdot \frac{\log z}{y}} \cdot x}{y}} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \leadsto \color{blue}{\frac{e^{-1 \cdot \frac{\log z}{y}} \cdot x}{y}} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}\]
      1.2
    5. Applied simplify to get
      \[\color{red}{\frac{e^{-1 \cdot \frac{\log z}{y}} \cdot x}{y} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}} \leadsto \color{blue}{\frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \cdot \frac{{z}^{\left(\frac{-1}{y}\right)}}{\frac{y}{x}}}\]
      1.4

    if -286961.2529092949 < y < -5.4112869105915806e-27

    1. Started with
      \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
      1.8
    2. Applied simplify to get
      \[\color{red}{\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}} \leadsto \color{blue}{\left(\frac{x}{y} \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}\]
      7.9
    3. Using strategy rm
      7.9
    4. Applied associate-*l/ to get
      \[\color{red}{\left(\frac{x}{y} \cdot {z}^{y}\right)} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \leadsto \color{blue}{\frac{x \cdot {z}^{y}}{y}} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}\]
      7.9
    5. Applied associate-*l/ to get
      \[\color{red}{\frac{x \cdot {z}^{y}}{y} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}} \leadsto \color{blue}{\frac{\left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}{y}}\]
      7.1
    6. Using strategy rm
      7.1
    7. Applied pow-to-exp to get
      \[\frac{\left(x \cdot {z}^{y}\right) \cdot \frac{\color{red}{{a}^{\left(t - 1.0\right)}}}{e^{b}}}{y} \leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{e^{\log a \cdot \left(t - 1.0\right)}}}{e^{b}}}{y}\]
      8.5
    8. Applied div-exp to get
      \[\frac{\left(x \cdot {z}^{y}\right) \cdot \color{red}{\frac{e^{\log a \cdot \left(t - 1.0\right)}}{e^{b}}}}{y} \leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \color{blue}{e^{\log a \cdot \left(t - 1.0\right) - b}}}{y}\]
      3.9

    if -5.4112869105915806e-27 < y < 31.015116915442384

    1. Started with
      \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
      3.4
    2. Applied simplify to get
      \[\color{red}{\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}} \leadsto \color{blue}{\left(\frac{x}{y} \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}\]
      19.2
    3. Using strategy rm
      19.2
    4. Applied associate-*l/ to get
      \[\color{red}{\left(\frac{x}{y} \cdot {z}^{y}\right)} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}} \leadsto \color{blue}{\frac{x \cdot {z}^{y}}{y}} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}\]
      19.2
    5. Applied associate-*l/ to get
      \[\color{red}{\frac{x \cdot {z}^{y}}{y} \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}} \leadsto \color{blue}{\frac{\left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\left(t - 1.0\right)}}{e^{b}}}{y}}\]
      9.7
    6. Using strategy rm
      9.7
    7. Applied pow-to-exp to get
      \[\frac{\left(x \cdot {z}^{y}\right) \cdot \frac{\color{red}{{a}^{\left(t - 1.0\right)}}}{e^{b}}}{y} \leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \frac{\color{blue}{e^{\log a \cdot \left(t - 1.0\right)}}}{e^{b}}}{y}\]
      10.9
    8. Applied div-exp to get
      \[\frac{\left(x \cdot {z}^{y}\right) \cdot \color{red}{\frac{e^{\log a \cdot \left(t - 1.0\right)}}{e^{b}}}}{y} \leadsto \frac{\left(x \cdot {z}^{y}\right) \cdot \color{blue}{e^{\log a \cdot \left(t - 1.0\right) - b}}}{y}\]
      3.4

  1. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default) (b default))
  #:name "Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2"
  (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))