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