I would like to know how logarithms are calculated by computers. The GNU C library, for example, uses a call to the fyl2x() assembler instruction, which means that logarithms are calculated directly from the hardware.
So the question is: what algorithm is used by computers to calculate logarithms?
fyl2x()computes a binary (base-2) logarithm. – J. M. ain't a mathematician Sep 01 '11 at 16:27