\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}\frac{i}{16 \cdot i - \frac{4}{i}}double f(double i) {
double r50630 = i;
double r50631 = r50630 * r50630;
double r50632 = r50631 * r50631;
double r50633 = 2.0;
double r50634 = r50633 * r50630;
double r50635 = r50634 * r50634;
double r50636 = r50632 / r50635;
double r50637 = 1.0;
double r50638 = r50635 - r50637;
double r50639 = r50636 / r50638;
return r50639;
}
double f(double i) {
double r50640 = i;
double r50641 = 16.0;
double r50642 = r50641 * r50640;
double r50643 = 4.0;
double r50644 = r50643 / r50640;
double r50645 = r50642 - r50644;
double r50646 = r50640 / r50645;
return r50646;
}



Bits error versus i
Results
Initial program 47.1
Simplified16.4
rmApplied associate-/l*15.9
Simplified16.0
Taylor expanded around 0 0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2020047 +o rules:numerics
(FPCore (i)
:name "Octave 3.8, jcobi/4, as called"
:precision binary64
:pre (and (> i 0.0))
(/ (/ (* (* i i) (* i i)) (* (* 2 i) (* 2 i))) (- (* (* 2 i) (* 2 i)) 1)))