From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
The man page of log2 says:
"The log2() function returns the natural logarithm of x."
This is obviously wrong: the log2 function returns the 2-logarithm of x, not the e-logarithm.
Also, I wonder (but don't know) whether the CONFORMING TO section is correct. log2 seems to only be available when compiling in C99 mode, so I wonder if it was already available in the other Unix versions mentioned. (log2 is vertainly not available when compiling without -std=XXX option, even when math.h is included.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man log2
Actual Results: "The log2() function returns the natural logarithm of x."
Expected Results: "The log2() function returns the base-2 logarithm of x."
The bit about the CONFORMING TO section also holds for exp2.
This bug is fixed in the last version of man-pages (man-pages-2.05-1).