]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright 2004 Andries Brouwer (aeb@cwi.nl) |
2 | .\" | |
93015253 | 3 | .\" %%%LICENSE_START(VERBATIM) |
fea681da MK |
4 | .\" Permission is granted to make and distribute verbatim copies of this |
5 | .\" manual provided the copyright notice and this permission notice are | |
6 | .\" preserved on all copies. | |
7 | .\" | |
8 | .\" Permission is granted to copy and distribute modified versions of this | |
9 | .\" manual under the conditions for verbatim copying, provided that the | |
10 | .\" entire resulting derived work is distributed under the terms of a | |
11 | .\" permission notice identical to this one. | |
c13182ef | 12 | .\" |
fea681da MK |
13 | .\" Since the Linux kernel and libraries are constantly changing, this |
14 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
15 | .\" responsibility for errors or omissions, or for damages resulting from | |
16 | .\" the use of the information contained herein. The author(s) may not | |
17 | .\" have taken the same level of care in the production of this manual, | |
18 | .\" which is licensed free of charge, as they might when working | |
19 | .\" professionally. | |
c13182ef | 20 | .\" |
fea681da MK |
21 | .\" Formatted or processed versions of this manual, if unaccompanied by |
22 | .\" the source, must acknowledge the copyright and authors of this work. | |
4b72fb64 | 23 | .\" %%%LICENSE_END |
fea681da | 24 | .\" |
4b8c67d9 | 25 | .TH POW10 3 2017-09-15 "" "Linux Programmer's Manual" |
fea681da MK |
26 | .SH NAME |
27 | pow10, pow10f, pow10l \- base-10 power functions | |
28 | .SH SYNOPSIS | |
29 | .nf | |
b80f966b | 30 | .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" |
fea681da | 31 | .B #include <math.h> |
68e4db0a | 32 | .PP |
fea681da | 33 | .BI "double pow10(double " x ); |
fea681da | 34 | .BI "float pow10f(float " x ); |
fea681da MK |
35 | .BI "long double pow10l(long double " x ); |
36 | .fi | |
68e4db0a | 37 | .PP |
20c58d70 | 38 | Link with \fI\-lm\fP. |
fea681da | 39 | .SH DESCRIPTION |
5600f73a | 40 | These functions return the value of 10 raised to the power |
c6fa0841 | 41 | .IR x . |
6354e662 MK |
42 | .PP |
43 | .BR "Note well" : | |
44 | These functions perform exactly the same task as the functions described in | |
45 | .BR exp10 (3), | |
46 | with the difference that the latter functions are now standardized | |
8a3f19c3 | 47 | in TS\ 18661-4:2015. |
6354e662 MK |
48 | Those latter functions should be used in preference |
49 | to the functions described in this page. | |
f0d7ce1d MK |
50 | .SH VERSIONS |
51 | These functions first appeared in glibc in version 2.1. | |
6354e662 MK |
52 | Since glibc 2.27, |
53 | .\" glibc commit 5a80d39d0d2587e9bd8e72f19e92eeb2a66fbe9e | |
54 | the use of these functions in new programs is no longer supported. | |
d285b5b9 MS |
55 | .SH ATTRIBUTES |
56 | For an explanation of the terms used in this section, see | |
57 | .BR attributes (7). | |
58 | .TS | |
59 | allbox; | |
60 | lbw28 lb lb | |
61 | l l l. | |
62 | Interface Attribute Value | |
63 | T{ | |
64 | .BR pow10 (), | |
65 | .BR pow10f (), | |
66 | .BR pow10l () | |
67 | T} Thread safety MT-Safe | |
68 | .TE | |
47297adb | 69 | .SH CONFORMING TO |
b9f5883b | 70 | This functions are nonstandard GNU extensions. |
47297adb | 71 | .SH SEE ALSO |
fea681da | 72 | .BR exp10 (3), |
0a4f8b7b | 73 | .BR pow (3) |