1 - \frac{1}{2 + \left(2 - \frac{\frac{2}{t}}{1 + \frac{1}{t}}\right) \cdot \left(2 - \frac{\frac{2}{t}}{1 + \frac{1}{t}}\right)}1 - \frac{1}{2 + \left(2 - \frac{2}{1 + 1 \cdot t}\right) \cdot \left(\sqrt[3]{2 - \frac{2}{1 + 1 \cdot t}} \cdot {\left(\sqrt[3]{2 - \frac{2}{1 + 1 \cdot t}}\right)}^{2}\right)}(FPCore (t)
:precision binary64
(-
1.0
(/
1.0
(+
2.0
(*
(- 2.0 (/ (/ 2.0 t) (+ 1.0 (/ 1.0 t))))
(- 2.0 (/ (/ 2.0 t) (+ 1.0 (/ 1.0 t)))))))))(FPCore (t)
:precision binary64
(-
1.0
(/
1.0
(+
2.0
(*
(- 2.0 (/ 2.0 (+ 1.0 (* 1.0 t))))
(*
(cbrt (- 2.0 (/ 2.0 (+ 1.0 (* 1.0 t)))))
(pow (cbrt (- 2.0 (/ 2.0 (+ 1.0 (* 1.0 t))))) 2.0)))))))double code(double t) {
return ((double) (1.0 - (1.0 / ((double) (2.0 + ((double) (((double) (2.0 - ((2.0 / t) / ((double) (1.0 + (1.0 / t)))))) * ((double) (2.0 - ((2.0 / t) / ((double) (1.0 + (1.0 / t)))))))))))));
}
double code(double t) {
return ((double) (1.0 - (1.0 / ((double) (2.0 + ((double) (((double) (2.0 - (2.0 / ((double) (1.0 + ((double) (1.0 * t))))))) * ((double) (((double) cbrt(((double) (2.0 - (2.0 / ((double) (1.0 + ((double) (1.0 * t))))))))) * ((double) pow(((double) cbrt(((double) (2.0 - (2.0 / ((double) (1.0 + ((double) (1.0 * t))))))))), 2.0)))))))))));
}



Bits error versus t
Results
Initial program Error: 0.0 bits
SimplifiedError: 0.0 bits
rmApplied add-cube-cbrtError: 0.0 bits
SimplifiedError: 0.0 bits
Final simplificationError: 0.0 bits
herbie shell --seed 2020204
(FPCore (t)
:name "Kahan p13 Example 3"
:precision binary64
(- 1.0 (/ 1.0 (+ 2.0 (* (- 2.0 (/ (/ 2.0 t) (+ 1.0 (/ 1.0 t)))) (- 2.0 (/ (/ 2.0 t) (+ 1.0 (/ 1.0 t)))))))))