summaryrefslogtreecommitdiffstats
path: root/man3/pow10.3
blob: 0a0bdacbb0e6449106585c0d692fb6c490af13ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
'\" t
.\" Copyright 2004 Andries Brouwer (aeb@cwi.nl)
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH pow10 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
pow10, pow10f, pow10l \- base-10 power functions
.SH LIBRARY
Math library
.RI ( libm ", " \-lm )
.SH SYNOPSIS
.nf
.BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
.B #include <math.h>
.P
.BI "double pow10(double " x );
.BI "float pow10f(float " x );
.BI "long double pow10l(long double " x );
.fi
.SH DESCRIPTION
These functions return the value of 10 raised to the power
.IR x .
.P
.BR "Note well" :
These functions perform exactly the same task as the functions described in
.BR exp10 (3),
with the difference that the latter functions are now standardized
in TS\ 18661-4:2015.
Those latter functions should be used in preference
to the functions described in this page.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbx lb lb
l l l.
Interface	Attribute	Value
T{
.na
.nh
.BR pow10 (),
.BR pow10f (),
.BR pow10l ()
T}	Thread safety	MT-Safe
.TE
.SH STANDARDS
GNU.
.SH VERSIONS
glibc 2.1.
Removed in glibc 2.27.
.\" glibc commit 5a80d39d0d2587e9bd8e72f19e92eeb2a66fbe9e
.SH SEE ALSO
.BR exp10 (3),
.BR pow (3)