Main index | Section 3 | Options |
#include <math.h>
The log10(), log10f(), and log10l() functions compute the logarithm base 10 of x, while log2(), log2f(), and log2l() compute the logarithm base 2 of x.
The log1p(), log1pf(), and log1pl() functions compute the natural logarithm of 1 + x. Computing the natural logarithm as log1p(x) is more accurate than computing it as log(1 + x) when x is close to zero.
LOG (3) | March 22, 2020 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.