]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 2 | .\" |
38f20bb9 | 3 | .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE) |
fea681da | 4 | .\" Distributed under GPL |
38f20bb9 | 5 | .\" %%%LICENSE_END |
fea681da | 6 | .\" |
4b8c67d9 | 7 | .TH CLOG10 3 2017-09-15 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | clog10, clog10f, clog10l \- base-10 logarithm of a complex number | |
10 | .SH SYNOPSIS | |
b80f966b | 11 | .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" |
fea681da MK |
12 | .br |
13 | .B #include <complex.h> | |
68e4db0a | 14 | .PP |
fea681da | 15 | .BI "double complex clog10(double complex " z ); |
d39541ec | 16 | .br |
fea681da | 17 | .BI "float complex clog10f(float complex " z ); |
d39541ec | 18 | .br |
fea681da | 19 | .BI "long double complex clog10l(long double complex " z ); |
68e4db0a | 20 | .PP |
20c58d70 | 21 | Link with \fI\-lm\fP. |
fea681da | 22 | .SH DESCRIPTION |
c13182ef | 23 | The call |
3b2049e5 | 24 | .I clog10(z) |
d2229a2b | 25 | is equivalent to: |
847e0d88 | 26 | .PP |
d2229a2b | 27 | clog(z)/log(10) |
847e0d88 | 28 | .PP |
d2229a2b | 29 | or equally: |
847e0d88 | 30 | .PP |
d2229a2b | 31 | log10(cabs(c)) + I * carg(c) / log(10) |
847e0d88 | 32 | .PP |
c13182ef | 33 | The other functions perform the same task for |
3b2049e5 | 34 | .I float |
c13182ef | 35 | and |
3b2049e5 | 36 | .IR "long double" . |
847e0d88 | 37 | .PP |
c13182ef MK |
38 | Note that |
39 | .I z | |
40 | close to zero will cause an overflow. | |
f0d7ce1d MK |
41 | .SH VERSIONS |
42 | These functions first appeared in glibc in version 2.1. | |
d351212c MS |
43 | .SH ATTRIBUTES |
44 | For an explanation of the terms used in this section, see | |
45 | .BR attributes (7). | |
46 | .TS | |
47 | allbox; | |
48 | lbw30 lb lb | |
49 | l l l. | |
50 | Interface Attribute Value | |
51 | T{ | |
52 | .BR clog10 (), | |
53 | .BR clog10f (), | |
54 | .BR clog10l () | |
55 | T} Thread safety MT-Safe | |
56 | .TE | |
47297adb | 57 | .SH CONFORMING TO |
6cf65aa6 | 58 | These functions are GNU extensions. |
d8334b03 | 59 | The identifiers are reserved for future use in C99 and C11. |
47297adb | 60 | .SH SEE ALSO |
fea681da MK |
61 | .BR cabs (3), |
62 | .BR cexp (3), | |
63 | .BR clog (3), | |
64 | .BR clog2 (3), | |
0a4f8b7b | 65 | .BR complex (7) |