Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3)

Manpage of EXPM1

EXPM1

Section: Linux Programmer's Manual (3)
Updated: September 16, 2025
Index  

NAME

expm1, log1p - exponential minus 1, logarithm of 1 plus argument  

SYNOPSIS

#include <math.h>
double expm1 ( double x );
double log1p ( double x );
 

DESCRIPTION

expm1(x) returns a value equivalent to `exp (x) - 1'. It is computed in a way that is accurate even if the value of x is near zero--a case where `exp (x) - 1' would be inaccurate due to subtraction of two numbers that are nearly equal.

log1p(x) returns a value equivalent to `log (1 + x)'. It is computed in a way that is accurate even if the value of x is near zero.  

CONFORMING TO

BSD  

SEE ALSO


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO
SEE ALSO

This 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