\[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.3 s
Input Error: 14.1
Output Error: 1.0
Log:
Profile: 🕒
\(\begin{cases} {1}^3 \cdot \frac{\frac{x}{z}}{\frac{1}{y}} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le -5.938455921460385 \cdot 10^{+294} \\ x \cdot \frac{y}{z} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le -2.5246727556762883 \cdot 10^{-296} \\ {1}^3 \cdot \frac{\frac{x}{z}}{\frac{1}{y}} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le -0.0 \\ x \cdot \frac{y}{z} & \text{when } \frac{\frac{y}{z} \cdot t}{t} \le 4.257365925514436 \cdot 10^{+145} \\ \frac{y \cdot x}{z} & \text{otherwise} \end{cases}\)

    if (/ (* (/ y z) t) t) < -5.938455921460385e+294 or -2.5246727556762883e-296 < (/ (* (/ y z) t) t) < -0.0

    1. Started with
      \[x \cdot \frac{\frac{y}{z} \cdot t}{t}\]
      33.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}}\]
      14.5
    3. Using strategy rm
      14.5
    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}\]
      14.8
    5. Using strategy rm
      14.8
    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\]
      14.8
    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}\]
      14.8
    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}}}\]
      14.3
    9. Using strategy rm
      14.3
    10. Applied div-inv to get
      \[{1}^3 \cdot \frac{x}{\color{red}{\frac{z}{y}}} \leadsto {1}^3 \cdot \frac{x}{\color{blue}{z \cdot \frac{1}{y}}}\]
      14.3
    11. Applied associate-/r* to get
      \[{1}^3 \cdot \color{red}{\frac{x}{z \cdot \frac{1}{y}}} \leadsto {1}^3 \cdot \color{blue}{\frac{\frac{x}{z}}{\frac{1}{y}}}\]
      1.7

    if -5.938455921460385e+294 < (/ (* (/ y z) t) t) < -2.5246727556762883e-296 or -0.0 < (/ (* (/ y z) t) t) < 4.257365925514436e+145

    1. Started with
      \[x \cdot \frac{\frac{y}{z} \cdot t}{t}\]
      0.7
    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.3

    if 4.257365925514436e+145 < (/ (* (/ y z) t) t)

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

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