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