\[x \cdot \frac{\frac{y}{z} \cdot t}{t}\]
Test:
Graphics.Rendering.Chart.Backend.Diagrams:calcFontMetrics from Chart-diagrams-1.5.1
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Bits error versus t
Time: 7.9 s
Input Error: 14.3
Output Error: 1.2
Log:
Profile: 🕒
\(\begin{cases} \frac{y \cdot x}{z} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le -2.6847886448158357 \cdot 10^{+172} \\ x \cdot \frac{y}{z} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le -1.2840368904434775 \cdot 10^{-247} \\ \frac{y \cdot x}{z} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le 0.0 \\ {1}^3 \cdot \frac{x}{\frac{z}{y}} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le 9.844109873327004 \cdot 10^{+161} \\ \frac{y \cdot x}{z} & \text{otherwise} \end{cases}\)

    if (/ (* (/ y z) t) t) < -2.6847886448158357e+172 or -1.2840368904434775e-247 < (/ (* (/ y z) t) t) < 0.0 or 9.844109873327004e+161 < (/ (* (/ y z) t) t)

    1. Started with
      \[x \cdot \frac{\frac{y}{z} \cdot t}{t}\]
      31.5
    2. Applied simplify to get
      \[\color{red}{x \cdot \frac{\frac{y}{z} \cdot t}{t}} \leadsto \color{blue}{x \cdot \frac{y}{z}}\]
      14.0
    3. Applied taylor to get
      \[x \cdot \frac{y}{z} \leadsto \frac{y \cdot x}{z}\]
      2.1
    4. Taylor expanded around 0 to get
      \[\color{red}{\frac{y \cdot x}{z}} \leadsto \color{blue}{\frac{y \cdot x}{z}}\]
      2.1

    if -2.6847886448158357e+172 < (/ (* (/ y z) t) t) < -1.2840368904434775e-247

    1. Started with
      \[x \cdot \frac{\frac{y}{z} \cdot t}{t}\]
      0.5
    2. Applied simplify to get
      \[\color{red}{x \cdot \frac{\frac{y}{z} \cdot t}{t}} \leadsto \color{blue}{x \cdot \frac{y}{z}}\]
      0.2

    if 0.0 < (/ (* (/ y z) t) t) < 9.844109873327004e+161

    1. Started with
      \[x \cdot \frac{\frac{y}{z} \cdot t}{t}\]
      0.8
    2. Applied simplify to get
      \[\color{red}{x \cdot \frac{\frac{y}{z} \cdot t}{t}} \leadsto \color{blue}{x \cdot \frac{y}{z}}\]
      0.4
    3. Using strategy rm
      0.4
    4. Applied add-cube-cbrt to get
      \[\color{red}{x \cdot \frac{y}{z}} \leadsto \color{blue}{{\left(\sqrt[3]{x \cdot \frac{y}{z}}\right)}^3}\]
      1.4
    5. Using strategy rm
      1.4
    6. Applied *-un-lft-identity to get
      \[{\color{red}{\left(\sqrt[3]{x \cdot \frac{y}{z}}\right)}}^3 \leadsto {\color{blue}{\left(1 \cdot \sqrt[3]{x \cdot \frac{y}{z}}\right)}}^3\]
      1.4
    7. Applied cube-prod to get
      \[\color{red}{{\left(1 \cdot \sqrt[3]{x \cdot \frac{y}{z}}\right)}^3} \leadsto \color{blue}{{1}^3 \cdot {\left(\sqrt[3]{x \cdot \frac{y}{z}}\right)}^3}\]
      1.4
    8. Applied simplify to get
      \[{1}^3 \cdot \color{red}{{\left(\sqrt[3]{x \cdot \frac{y}{z}}\right)}^3} \leadsto {1}^3 \cdot \color{blue}{\frac{x}{\frac{z}{y}}}\]
      0.5

  1. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default))
  #:name "Graphics.Rendering.Chart.Backend.Diagrams:calcFontMetrics from Chart-diagrams-1.5.1"
  (* x (/ (* (/ y z) t) t)))