\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 282.49760390482118:\\
\;\;\;\;\frac{i}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1} \cdot \frac{i}{2 \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;\left(0.00390625 \cdot \frac{1}{{i}^{4}} + 0.0625\right) + \frac{\frac{0.015625}{i}}{i}\\
\end{array}double code(double i) {
return ((((i * i) * (i * i)) / ((2.0 * i) * (2.0 * i))) / (((2.0 * i) * (2.0 * i)) - 1.0));
}
double code(double i) {
double VAR;
if ((i <= 282.4976039048212)) {
VAR = ((i / (((2.0 * i) * (2.0 * i)) - 1.0)) * (i / (2.0 * 2.0)));
} else {
VAR = (((0.00390625 * (1.0 / pow(i, 4.0))) + 0.0625) + ((0.015625 / i) / i));
}
return VAR;
}



Bits error versus i
Results
if i < 282.4976039048212Initial program 45.5
Simplified0.0
rmApplied times-frac0.0
if 282.4976039048212 < i Initial program 49.1
Simplified32.9
rmApplied times-frac32.0
Taylor expanded around inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020071
(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)))