Copyright 1993 David Metcalfe (firstname.lastname@example.org) and Copyright 2008, Linux Foundation, written by Michael Kerrisk <email@example.com> %%%LICENSE_START(VERBATIM) Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting ...
NAMEexp10, exp10f, exp10l - base-10 exponential function
#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <math.h> double exp10(double x);
float exp10f(float x);
long double exp10l(long double x);
Link with -lm.
DESCRIPTIONThese functions return the value of 10 raised to the power of x.
RETURN VALUEOn success, these functions return the base-10 exponential value of x.
For various special cases, including the handling of infinity and NaN, as well as overflows and underflows, see exp(3).
ERRORSSee math_error(7) for information on how to determine whether an error has occurred when calling these functions.
For a discussion of the errors that can occur for these functions, see exp(3).
VERSIONSThese functions first appeared in glibc in version 2.1.
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7).
|exp10(), exp10f(), exp10l()||Thread safety||MT-Safe|