\frac{\frac{\left(i \cdot i\right) \cdot \left(i \cdot i\right)}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right)}}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}\frac{i}{i \cdot 16 - \frac{4.0}{i}}double f(double i) {
double r2657968 = i;
double r2657969 = r2657968 * r2657968;
double r2657970 = r2657969 * r2657969;
double r2657971 = 2.0;
double r2657972 = r2657971 * r2657968;
double r2657973 = r2657972 * r2657972;
double r2657974 = r2657970 / r2657973;
double r2657975 = 1.0;
double r2657976 = r2657973 - r2657975;
double r2657977 = r2657974 / r2657976;
return r2657977;
}
double f(double i) {
double r2657978 = i;
double r2657979 = 16.0;
double r2657980 = r2657978 * r2657979;
double r2657981 = 4.0;
double r2657982 = r2657981 / r2657978;
double r2657983 = r2657980 - r2657982;
double r2657984 = r2657978 / r2657983;
return r2657984;
}



Bits error versus i
Results
Initial program 46.0
Simplified15.7
rmApplied associate-/l*15.8
Taylor expanded around 0 0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2019107 +o rules:numerics
(FPCore (i)
:name "Octave 3.8, jcobi/4, as called"
:pre (and (> i 0))
(/ (/ (* (* i i) (* i i)) (* (* 2 i) (* 2 i))) (- (* (* 2 i) (* 2 i)) 1.0)))