double f(double i) {
double r12184496 = i;
double r12184497 = r12184496 * r12184496;
double r12184498 = r12184497 * r12184497;
double r12184499 = 2.0;
double r12184500 = r12184499 * r12184496;
double r12184501 = r12184500 * r12184500;
double r12184502 = r12184498 / r12184501;
double r12184503 = 1.0;
double r12184504 = r12184501 - r12184503;
double r12184505 = r12184502 / r12184504;
return r12184505;
}
double f(double i) {
double r12184506 = i;
double r12184507 = 1.0;
double r12184508 = r12184507 / r12184506;
double r12184509 = -4.0;
double r12184510 = 16.0;
double r12184511 = r12184510 * r12184506;
double r12184512 = fma(r12184508, r12184509, r12184511);
double r12184513 = r12184506 / r12184512;
return r12184513;
}
\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}{(\left(\frac{1.0}{i}\right) \cdot -4 + \left(16 \cdot i\right))_*}


Bits error versus i
Initial program 45.8
Simplified15.6
rmApplied times-frac15.6
rmApplied pow115.6
Applied pow115.6
Applied pow-prod-down15.6
Simplified0.2
Final simplification0.2
herbie shell --seed 2019101 +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)))