OSDN Git Service

90213ec0ff880d32ed3a2b9fad22709a3bf5c886
[linuxjm/LDP_man-pages.git] / original / man3 / clog10.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\"
4 .TH CLOG10 3 2008-08-11 "" "Linux Programmer's Manual"
5 .SH NAME
6 clog10, clog10f, clog10l \- base-10 logarithm of a complex number
7 .SH SYNOPSIS
8 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
9 .br
10 .B #include <complex.h>
11 .sp
12 .BI "double complex clog10(double complex " z );
13 .br
14 .BI "float complex clog10f(float complex " z );
15 .br
16 .BI "long double complex clog10l(long double complex " z );
17 .sp
18 Link with \fI\-lm\fP.
19 .SH DESCRIPTION
20 The call
21 .I clog10(z)
22 is equivalent to
23 .IR clog(z)/log(10) .
24 The other functions perform the same task for
25 .I float
26 and
27 .IR "long double" .
28
29 Note that
30 .I z
31 close to zero will cause an overflow.
32 .SH VERSIONS
33 These functions first appeared in glibc in version 2.1.
34 .SH "CONFORMING TO"
35 This function is a GNU extension.
36 It is reserved for future use in C99.
37 .SH "SEE ALSO"
38 .BR cabs (3),
39 .BR cexp (3),
40 .BR clog (3),
41 .BR clog2 (3),
42 .BR complex (7)