x \cdot \frac{\frac{y}{z} \cdot t}{t}\begin{array}{l}
\mathbf{if}\;\frac{y}{z} = -\infty:\\
\;\;\;\;y \cdot \frac{x}{z}\\
\mathbf{elif}\;\frac{y}{z} \le -1.777824700739059504027072604237357294271 \cdot 10^{-189}:\\
\;\;\;\;\frac{y}{z} \cdot x\\
\mathbf{elif}\;\frac{y}{z} \le 6.194701076531514820787324531303599279908 \cdot 10^{-141}:\\
\;\;\;\;\frac{x \cdot y}{z}\\
\mathbf{elif}\;\frac{y}{z} \le 4.487328446405641062208224523193589026226 \cdot 10^{149}:\\
\;\;\;\;\frac{y}{z} \cdot x\\
\mathbf{else}:\\
\;\;\;\;y \cdot \frac{x}{z}\\
\end{array}double f(double x, double y, double z, double t) {
double r77204 = x;
double r77205 = y;
double r77206 = z;
double r77207 = r77205 / r77206;
double r77208 = t;
double r77209 = r77207 * r77208;
double r77210 = r77209 / r77208;
double r77211 = r77204 * r77210;
return r77211;
}
double f(double x, double y, double z, double __attribute__((unused)) t) {
double r77212 = y;
double r77213 = z;
double r77214 = r77212 / r77213;
double r77215 = -inf.0;
bool r77216 = r77214 <= r77215;
double r77217 = x;
double r77218 = r77217 / r77213;
double r77219 = r77212 * r77218;
double r77220 = -1.7778247007390595e-189;
bool r77221 = r77214 <= r77220;
double r77222 = r77214 * r77217;
double r77223 = 6.194701076531515e-141;
bool r77224 = r77214 <= r77223;
double r77225 = r77217 * r77212;
double r77226 = r77225 / r77213;
double r77227 = 4.487328446405641e+149;
bool r77228 = r77214 <= r77227;
double r77229 = r77228 ? r77222 : r77219;
double r77230 = r77224 ? r77226 : r77229;
double r77231 = r77221 ? r77222 : r77230;
double r77232 = r77216 ? r77219 : r77231;
return r77232;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ y z) < -inf.0 or 4.487328446405641e+149 < (/ y z) Initial program 41.5
Simplified29.8
rmApplied div-inv29.9
Applied associate-*l*1.9
Simplified1.8
if -inf.0 < (/ y z) < -1.7778247007390595e-189 or 6.194701076531515e-141 < (/ y z) < 4.487328446405641e+149Initial program 7.9
Simplified0.2
if -1.7778247007390595e-189 < (/ y z) < 6.194701076531515e-141Initial program 17.3
Simplified9.0
rmApplied add-cube-cbrt9.5
Applied associate-*l*9.5
rmApplied div-inv9.4
Applied cbrt-prod9.4
rmApplied cbrt-div9.4
Applied associate-*r/9.4
Applied associate-*l/9.6
Applied cbrt-div9.6
Applied cbrt-div1.8
Applied frac-times1.8
Applied frac-times2.1
Simplified1.8
Simplified1.3
Final simplification0.8
herbie shell --seed 2019325 +o rules:numerics
(FPCore (x y z t)
:name "Graphics.Rendering.Chart.Backend.Diagrams:calcFontMetrics from Chart-diagrams-1.5.1"
:precision binary64
(* x (/ (* (/ y z) t) t)))