pow10(3) — Linux manual page


pow10(3)                Library Functions Manual                pow10(3)

NAME         top

       pow10, pow10f, pow10l - base-10 power functions

LIBRARY         top

       Math library (libm, -lm)

SYNOPSIS         top

       #define _GNU_SOURCE         /* See feature_test_macros(7) */
       #include <math.h>

       double pow10(double x);
       float pow10f(float x);
       long double pow10l(long double x);

DESCRIPTION         top

       These functions return the value of 10 raised to the power x.

       Note well: These functions perform exactly the same task as the
       functions described in 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.

ATTRIBUTES         top

       For an explanation of the terms used in this section, see
       │ Interface                           Attribute     Value   │
       │ pow10(), pow10f(), pow10l()         │ Thread safety │ MT-Safe │

STANDARDS         top


VERSIONS         top

       glibc 2.1.  Removed in glibc 2.27.

SEE ALSO         top

       exp10(3), pow(3)

COLOPHON         top

       This page is part of the man-pages (Linux kernel and C library
       user-space interface documentation) project.  Information about
       the project can be found at 
       ⟨https://www.kernel.org/doc/man-pages/⟩.  If you have a bug report
       for this manual page, see
       This page was obtained from the tarball man-pages-6.9.1.tar.gz
       fetched from
       ⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on
       2024-06-26.  If you discover any rendering problems in this HTML
       version of the page, or you believe there is a better or more up-
       to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to

Linux man-pages 6.9.1          2024-05-02                       pow10(3)