\[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: 16.8 s
Input Error: 4.6
Output Error: 2.2
Log:
Profile: 🕒
\(\begin{cases} \left(a - x\right) \cdot \frac{y - z}{{\left(\left(1.0 + t\right) - z\right)}^{1}} + x & \text{when } x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right) \le -3.7653877f-29 \\ (\left(x - a\right) * \left(\frac{y}{z}\right) + a)_* & \text{when } x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right) \le 7.739958f-28 \\ \left(a - x\right) \cdot \frac{y - z}{{\left(\left(1.0 + t\right) - z\right)}^{1}} + x & \text{otherwise} \end{cases}\)

    if (+ x (* (/ (- y z) (- (+ t 1.0) z)) (- a x))) < -3.7653877f-29 or 7.739958f-28 < (+ x (* (/ (- y z) (- (+ t 1.0) z)) (- a x)))

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      0.9
    2. Applied simplify to get
      \[\color{red}{x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)} \leadsto \color{blue}{(\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_*}\]
      0.9
    3. Using strategy rm
      0.9
    4. Applied fma-udef to get
      \[\color{red}{(\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_*} \leadsto \color{blue}{\left(a - x\right) \cdot \frac{y - z}{\left(1.0 + t\right) - z} + x}\]
      0.9
    5. Using strategy rm
      0.9
    6. Applied pow1 to get
      \[\left(a - x\right) \cdot \frac{y - z}{\color{red}{\left(1.0 + t\right) - z}} + x \leadsto \left(a - x\right) \cdot \frac{y - z}{\color{blue}{{\left(\left(1.0 + t\right) - z\right)}^{1}}} + x\]
      0.7

    if -3.7653877f-29 < (+ x (* (/ (- y z) (- (+ t 1.0) z)) (- a x))) < 7.739958f-28

    1. Started with
      \[x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)\]
      28.6
    2. Applied simplify to get
      \[\color{red}{x + \frac{y - z}{\left(t + 1.0\right) - z} \cdot \left(a - x\right)} \leadsto \color{blue}{(\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_*}\]
      28.6
    3. Using strategy rm
      28.6
    4. Applied fma-udef to get
      \[\color{red}{(\left(a - x\right) * \left(\frac{y - z}{\left(1.0 + t\right) - z}\right) + x)_*} \leadsto \color{blue}{\left(a - x\right) \cdot \frac{y - z}{\left(1.0 + t\right) - z} + x}\]
      28.6
    5. Applied taylor to get
      \[\left(a - x\right) \cdot \frac{y - z}{\left(1.0 + t\right) - z} + x \leadsto \left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}\]
      14.3
    6. 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}}\]
      14.3
    7. Applied simplify to get
      \[\color{red}{\left(\frac{y \cdot x}{z} + a\right) - \frac{y \cdot a}{z}} \leadsto \color{blue}{(\left(x - a\right) * \left(\frac{y}{z}\right) + a)_*}\]
      12.2

  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))))