Re: function cerf in manpage but not in <complex.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Ozgur,

On Sun, Sep 12, 2010 at 12:06 AM,  <ozgur.gurcan@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> in my system (2.6.34-gentoo-r2), "man cerf" gives me the description of a
> certain complex error function. This function however is nowhere to be
> found. I tried this on 5 other linux boxes with the same result.
>
> May be the function was taken out at some point but the documentation stayed.

Further down in the page is the line

==
.SH AVAILABILITY
Not yet in glibc, as at version 2.12.
==

I suppose you missed that, which is easy to do. I tweaked the page
(for man-pages-3.27) as below, to try to make it a little clearer.

Cheers,

Michael

--- a/man3/cerf.3
+++ b/man3/cerf.3
@@ -21,7 +21,7 @@ cerf, cerff, cerfl, cerfc, cerfcf, cerfcl \- complex
error function
 .sp
 Link with \fI\-lm\fP.
 .SH DESCRIPTION
-The function
+The (unimplemented) function
 .BR cerf ()
 is the complex version of the error function.
 erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(\-t*t) dt.
@@ -32,7 +32,7 @@ is defined as cerfc(z) = 1\-cerf(z).
 .SH "CONFORMING TO"
 The function names are reserved for future use in C99.
 .SH AVAILABILITY
-Not yet in glibc, as at version 2.8.
+Not yet in glibc, as at version 2.12.
 .\" But reserved in NAMESPACE.
 .SH "SEE ALSO"
 .BR erf (3),
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux