blob: bde4c1687eae4864e44a3b18abfab86716cd79fe (
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
57
58
59
|
'\" t
.\" Copyright 2004 Andries Brouwer (aeb@cwi.nl)
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH pow10 3 2023-03-30 "Linux man-pages 6.04"
.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>
.PP
.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 .
.PP
.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).
.ad l
.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
.BR pow10 (),
.BR pow10f (),
.BR pow10l ()
T} Thread safety MT-Safe
.TE
.hy
.ad
.sp 1
.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)
|