If Gosper's Appendix to HAKMEM interests you, you may want to read some of the continued fraction papers by Oskar Mencer and his collaborators Michael Flynn, Martin Morf, and Wayne Luk. Suffice it to say, continued fractions can be used to replace floating point arithmetic (including some mathematical functions) directly. See, for example, <a href="https://www.researchgate.net/publication/2412477" rel="nofollow">https://www.researchgate.net/publication/2412477</a>.