Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

expm1f(3) [opendarwin man page]

EXP(3)							   BSD Library Functions Manual 						    EXP(3)

NAME
exp, exp2, expm1 -- exponential functions SYNOPSIS
#include <math.h> double exp(double x); float expf(float x); double exp2(double x); float exp2f(float x); double expm1(double x); float expm1f(float x); DESCRIPTION
The exp() function computes e**x, the base-e exponential of x. The exp2() function computes 2**x, the base-2 exponential of x. The expm1() function computes the base-e exponential of x , minus 1 accurately even for very small values of x. SPECIAL VALUES
exp(+-0) and exp2(+-0) return 1. exp(-infinity) and exp2(-infinity) return +0. exp(+infinity) and exp2(+infinity) return +infinity. expm1(+-0) returns +-0. expm1(-infinity) returns -1. expm1(+infinity) returns +infinity. For all these functions, a range error occurs if the magnitude of x is too large. SEE ALSO
math(3), infnan(3) STANDARDS
The exp() , expf() , exp2() , exp2f() , expm1() , and expm1f() functions conform to ISO/IEC 9899:1999(E). 4th Berkeley Distribution January 30, 2003 4th Berkeley Distribution

Check Out this Related Man Page

EXP(3)							   BSD Library Functions Manual 						    EXP(3)

NAME
exp, expf, exp2, exp2f, expm1, expm1f, -- exponential functions LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <math.h> double exp(double x); float expf(float x); double exp2(double x); float exp2f(float x); double expm1(double x); float expm1f(float x); DESCRIPTION
The exp() and the expf() functions compute the base e exponential value of the given argument x. The exp2(), and exp2f() functions compute the base 2 exponential of the given argument x. The expm1() and the expm1f() functions computes the value exp(x)-1 accurately even for tiny argument x. RETURN VALUES
These functions will return the appropriate computation unless an error occurs or an argument is out of range. The functions exp() and expm1() detect if the computed value will overflow, set the global variable errno to ERANGE and cause a reserved operand fault on a VAX. SEE ALSO
math(3) STANDARDS
The exp() functions conform to ANSI X3.159-1989 (``ANSI C89''). The exp2(), exp2f(), expf(), expm1(), and expm1f() functions conform to ISO/IEC 9899:1999 (``ISO C99''). HISTORY
The exp() functions appeared in Version 6 AT&T UNIX. The expm1() function appeared in 4.3BSD. BSD
September 13, 2011 BSD
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: “␀␀Word FinderÂŽ Plus™”. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word FinderÂŽ Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies