| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
EXPSection: Linux Programmer's Manual (3)Updated: June 16, 2025 Index NAMEexp, log, log10, pow - exponential, logarithmic and power functionsSYNOPSIS#include <math.h> double exp(double x); double log(double x); double log10(double x); double pow(double x, double y); DESCRIPTIONThe exp() function returns the value of e (the base of natural logarithms) raised to the power of x.The log() function returns the natural logarithm of x. The log10() function returns the base-10 logarithm of x. The pow() function returns the value of x raised to the power of y. ERRORSThe log() and log10() functions can return the following errors:
The pow() function can return the following error:
CONFORMING TOSVID 3, POSIX, BSD 4.3, ISO 9899SEE ALSO
IndexThis document was created by using the manual pages. Time: 11:58:03 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |