\frac{1 + \frac{2 \cdot t}{1 + t} \cdot \frac{2 \cdot t}{1 + t}}{2 + \frac{2 \cdot t}{1 + t} \cdot \frac{2 \cdot t}{1 + t}}\frac{1 + \log \left(e^{\frac{t \cdot 2}{1 + t} \cdot \frac{t \cdot 2}{1 + t}}\right)}{2 + \frac{t \cdot 2}{1 + t} \cdot \frac{t \cdot 2}{1 + t}}double f(double t) {
double r838538 = 1.0;
double r838539 = 2.0;
double r838540 = t;
double r838541 = r838539 * r838540;
double r838542 = r838538 + r838540;
double r838543 = r838541 / r838542;
double r838544 = r838543 * r838543;
double r838545 = r838538 + r838544;
double r838546 = r838539 + r838544;
double r838547 = r838545 / r838546;
return r838547;
}
double f(double t) {
double r838548 = 1.0;
double r838549 = t;
double r838550 = 2.0;
double r838551 = r838549 * r838550;
double r838552 = r838548 + r838549;
double r838553 = r838551 / r838552;
double r838554 = r838553 * r838553;
double r838555 = exp(r838554);
double r838556 = log(r838555);
double r838557 = r838548 + r838556;
double r838558 = r838550 + r838554;
double r838559 = r838557 / r838558;
return r838559;
}



Bits error versus t
Results
Initial program 0.0
rmApplied add-log-exp0.0
Final simplification0.0
herbie shell --seed 2019151
(FPCore (t)
:name "Kahan p13 Example 1"
(/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))))