x \cdot \frac{\frac{y}{z} \cdot t}{t}\begin{array}{l}
\mathbf{if}\;\frac{y}{z} \le -4.55389167634140265 \cdot 10^{-149}:\\
\;\;\;\;1 \cdot \frac{x}{\frac{z}{y}}\\
\mathbf{elif}\;\frac{y}{z} \le 1.4704572909860111 \cdot 10^{-239}:\\
\;\;\;\;1 \cdot \frac{x \cdot y}{z}\\
\mathbf{elif}\;\frac{y}{z} \le 7.35260291402330968 \cdot 10^{277}:\\
\;\;\;\;x \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;1 \cdot \frac{1}{\frac{z}{x \cdot y}}\\
\end{array}double f(double x, double y, double z, double t) {
double r114973 = x;
double r114974 = y;
double r114975 = z;
double r114976 = r114974 / r114975;
double r114977 = t;
double r114978 = r114976 * r114977;
double r114979 = r114978 / r114977;
double r114980 = r114973 * r114979;
return r114980;
}
double f(double x, double y, double z, double __attribute__((unused)) t) {
double r114981 = y;
double r114982 = z;
double r114983 = r114981 / r114982;
double r114984 = -4.553891676341403e-149;
bool r114985 = r114983 <= r114984;
double r114986 = 1.0;
double r114987 = x;
double r114988 = r114982 / r114981;
double r114989 = r114987 / r114988;
double r114990 = r114986 * r114989;
double r114991 = 1.470457290986011e-239;
bool r114992 = r114983 <= r114991;
double r114993 = r114987 * r114981;
double r114994 = r114993 / r114982;
double r114995 = r114986 * r114994;
double r114996 = 7.35260291402331e+277;
bool r114997 = r114983 <= r114996;
double r114998 = r114987 * r114983;
double r114999 = r114982 / r114993;
double r115000 = r114986 / r114999;
double r115001 = r114986 * r115000;
double r115002 = r114997 ? r114998 : r115001;
double r115003 = r114992 ? r114995 : r115002;
double r115004 = r114985 ? r114990 : r115003;
return r115004;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ y z) < -4.553891676341403e-149Initial program 13.5
Simplified5.0
rmApplied add-cube-cbrt6.0
Applied *-un-lft-identity6.0
Applied times-frac6.0
Applied associate-*r*7.4
Simplified7.4
rmApplied *-un-lft-identity7.4
Applied associate-*l*7.4
Simplified9.7
rmApplied associate-/l*4.4
if -4.553891676341403e-149 < (/ y z) < 1.470457290986011e-239Initial program 17.2
Simplified10.4
rmApplied add-cube-cbrt10.7
Applied *-un-lft-identity10.7
Applied times-frac10.7
Applied associate-*r*2.6
Simplified2.6
rmApplied *-un-lft-identity2.6
Applied associate-*l*2.6
Simplified0.9
if 1.470457290986011e-239 < (/ y z) < 7.35260291402331e+277Initial program 9.8
Simplified0.2
if 7.35260291402331e+277 < (/ y z) Initial program 55.4
Simplified49.4
rmApplied add-cube-cbrt49.7
Applied *-un-lft-identity49.7
Applied times-frac49.7
Applied associate-*r*12.6
Simplified12.5
rmApplied *-un-lft-identity12.5
Applied associate-*l*12.5
Simplified0.3
rmApplied clear-num0.4
Final simplification1.8
herbie shell --seed 2020083 +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)))