\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}\begin{array}{l}
\mathbf{if}\;i \le 1923.1709384006522:\\
\;\;\;\;\frac{i \cdot i}{\left(\mathsf{fma}\left(2, i, \sqrt{1}\right) \cdot \left(2 \cdot i - \sqrt{1}\right)\right) \cdot \left(2 \cdot 2\right)}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(0.00390625, \frac{1}{{i}^{4}}, \mathsf{fma}\left(0.015625, \frac{1}{{i}^{2}}, 0.0625\right)\right)\\
\end{array}double f(double i) {
double r308 = i;
double r309 = r308 * r308;
double r310 = r309 * r309;
double r311 = 2.0;
double r312 = r311 * r308;
double r313 = r312 * r312;
double r314 = r310 / r313;
double r315 = 1.0;
double r316 = r313 - r315;
double r317 = r314 / r316;
return r317;
}
double f(double i) {
double r318 = i;
double r319 = 1923.1709384006522;
bool r320 = r318 <= r319;
double r321 = r318 * r318;
double r322 = 2.0;
double r323 = 1.0;
double r324 = sqrt(r323);
double r325 = fma(r322, r318, r324);
double r326 = r322 * r318;
double r327 = r326 - r324;
double r328 = r325 * r327;
double r329 = r322 * r322;
double r330 = r328 * r329;
double r331 = r321 / r330;
double r332 = 0.00390625;
double r333 = 1.0;
double r334 = 4.0;
double r335 = pow(r318, r334);
double r336 = r333 / r335;
double r337 = 0.015625;
double r338 = 2.0;
double r339 = pow(r318, r338);
double r340 = r333 / r339;
double r341 = 0.0625;
double r342 = fma(r337, r340, r341);
double r343 = fma(r332, r336, r342);
double r344 = r320 ? r331 : r343;
return r344;
}



Bits error versus i
if i < 1923.1709384006522Initial program 44.9
Simplified0.0
rmApplied add-sqr-sqrt0.0
Applied difference-of-squares0.0
Simplified0.0
if 1923.1709384006522 < i Initial program 48.9
Simplified32.2
rmApplied add-sqr-sqrt32.2
Applied difference-of-squares32.2
Simplified32.2
rmApplied add-cube-cbrt32.2
Applied prod-diff32.2
Applied distribute-lft-in32.2
Simplified32.2
Simplified32.2
Taylor expanded around inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020025 +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)))