tags 386214 fixed-upstream
thanks

Kevin,

> Package: manpages-dev
> Version: 2.39-1
> Severity: normal
> File: /usr/share/man/man3/clog10.3.gz
> 
> The clog10 man page shows the function as
> 
>       log10(cabs(z))+I*carg(z)
> 
> but I think there should be a factor 1/log(10) in there
> 
>       log10(cabs(z))+I*carg(z)/log(10)
> 
> ie. clog10(z) = clog(z)/log(10).

Tnhanks for your report.  Andries confirms you are correct,
and I've amended the man page for 2.41; see below.

Cheers,

Michael

CLOG10(3)           complex math routines           CLOG10(3)



NAME
       clog10, clog10f, clog10l - base-10 logarithm of a com-
       plex number

SYNOPSIS
       #define _GNU_SOURCE
       #include <complex.h>

       double complex clog10(double complex z);
       float complex clog10f(float complex z);
       long double complex clog10l(long double complex z);

       Link with -lm.

DESCRIPTION
       The call clog10(z) is equvalent to  clog10(z)/log(10).
       The  other  functions  perform the same task for float
       and long double.

       Note that z close to zero will cause an overflow.

CONFORMING TO
       This function is a GNU extension.  It is reserved  for
       future use in C99.

SEE ALSO
       cabs(3), cexp(3), clog(3), clog2(3), complex(7)



                          2002-07-28                CLOG10(3)
-- 
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 

Want to help with man page maintenance?  
Grab the latest tarball at
ftp://ftp.win.tue.nl/pub/linux-local/manpages/, 
read the HOWTOHELP file and grep the source 
files for 'FIXME'.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to