x \cdot \frac{\frac{y}{z} \cdot t}{t}x \cdot \frac{y}{z}double f(double x, double y, double z, double t) {
double r69872 = x;
double r69873 = y;
double r69874 = z;
double r69875 = r69873 / r69874;
double r69876 = t;
double r69877 = r69875 * r69876;
double r69878 = r69877 / r69876;
double r69879 = r69872 * r69878;
return r69879;
}
double f(double x, double y, double z, double __attribute__((unused)) t) {
double r69880 = x;
double r69881 = y;
double r69882 = z;
double r69883 = r69881 / r69882;
double r69884 = r69880 * r69883;
return r69884;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
if (/ y z) < -1.2673089964731026e+219Initial program 44.2
Simplified29.9
rmApplied associate-*r/1.2
rmApplied clear-num1.3
rmApplied associate-/r*1.1
if -1.2673089964731026e+219 < (/ y z) < -6.788877789726705e-200Initial program 8.3
Simplified0.2
rmApplied associate-*r/9.9
rmApplied associate-/l*0.3
if -6.788877789726705e-200 < (/ y z) < 1.8144342740217e-313 or 3.400558014790777e+303 < (/ y z) Initial program 25.8
Simplified21.8
rmApplied associate-*r/0.5
if 1.8144342740217e-313 < (/ y z) < 3.400558014790777e+303Initial program 10.8
Simplified0.2
Final simplification6.9
herbie shell --seed 2019297
(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)))