Write a routine to compute the natural logarithm by the algorithm outlined here based on telescoped rational and Gaussian continued fractions for ln x and test for several values of x. First check whether x = 1 and return zero if so. Reduce the range of x by determining n and r such that x = r × 2n with 
and compute ln[(1 + u)/(1 − u)] by the approximation
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.