\[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
Test:
Hakyll.Web.Tags:renderTagCloud from hakyll-4.7.2.3
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Bits error versus t
Bits error versus a
Time: 17.0 s
Input Error: 11.5
Output Error: 4.2
Log:
Profile: 🕒
\(\begin{cases} a + \frac{y}{z} \cdot \left(x - a\right) & \text{when } z \le -3.304681243542697 \cdot 10^{+156} \\ x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right) & \text{when } z \le 1.3381210941431743 \cdot 10^{+173} \\ a + \frac{y}{z} \cdot \left(x - a\right) & \text{otherwise} \end{cases}\)

    if z < -3.304681243542697e+156 or 1.3381210941431743e+173 < z

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      29.7
    2. Applied taylor to get
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right) \leadsto \left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}\]
      12.7
    3. Taylor expanded around inf to get
      \[\color{red}{\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}} \leadsto \color{blue}{\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}}\]
      12.7
    4. Applied simplify to get
      \[\color{red}{\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}} \leadsto \color{blue}{a + \frac{y}{z} \cdot \left(x - a\right)}\]
      1.1

    if -3.304681243542697e+156 < z < 1.3381210941431743e+173

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      5.3

  1. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default))
  #:name "Hakyll.Web.Tags:renderTagCloud from hakyll-4.7.2.3"
  (+ x (* (/ (- y z) (- (+ t 1.0) z)) (- a x))))