\frac{x \cdot \left(y - z\right)}{t - z}x \cdot \frac{y - z}{t - z}double f(double x, double y, double z, double t) {
double r426127 = x;
double r426128 = y;
double r426129 = z;
double r426130 = r426128 - r426129;
double r426131 = r426127 * r426130;
double r426132 = t;
double r426133 = r426132 - r426129;
double r426134 = r426131 / r426133;
return r426134;
}
double f(double x, double y, double z, double t) {
double r426135 = x;
double r426136 = y;
double r426137 = z;
double r426138 = r426136 - r426137;
double r426139 = t;
double r426140 = r426139 - r426137;
double r426141 = r426138 / r426140;
double r426142 = r426135 * r426141;
return r426142;
}




Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
Results
| Original | 12.5 |
|---|---|
| Target | 2.2 |
| Herbie | 2.3 |
if x < 7.699492722691725e-213Initial program 11.3
rmApplied *-un-lft-identity11.3
Applied times-frac2.4
Simplified2.4
if 7.699492722691725e-213 < x < 6.215776646690527e-89Initial program 2.1
rmApplied sub-neg2.1
Applied distribute-lft-in2.1
if 6.215776646690527e-89 < x Initial program 18.4
rmApplied associate-/l*1.9
rmApplied div-inv2.0
Final simplification2.3
herbie shell --seed 2019297
(FPCore (x y z t)
:name "Graphics.Rendering.Chart.Plot.AreaSpots:renderAreaSpots4D from Chart-1.5.3"
:precision binary64
:herbie-target
(/ x (/ (- t z) (- y z)))
(/ (* x (- y z)) (- t z)))