erf, erff, erfl, - error function
#include <math.h> double erf(double x); float erff(float x); long double erfl(long double x); Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): erf(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erff(), erfl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
These functions return the error function of x, defined as erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(-t*t) dt
On success, these functions return the error function of x, a value in the range [-1, 1]. If x is a NaN, a NaN is returned. If x is +0 (-0), +0 (-0) is returned. If x is positive infinity (negative infinity), +1 (-1) is returned. If x is subnormal, a range error occurs, and the return value is 2*x/sqrt(pi).
See math_error(7) for information on how to determine whether an error has occurred when calling these functions. The following errors can occur: Range error: result underflow (x is subnormal) An underflow floating-point exception (FE_UNDERFLOW) is raised. These functions do not set errno.
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value erf(), erff(), erfl() Thread safety MT-Safe
C99, POSIX.1-2001, POSIX.1-2008. The variant returning double also conforms to SVr4, 4.3BSD.
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
More Linux Commands
winsnstr(3ncurses) - insert string before cursor in a curses
These routines insert a character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right of the
ctstat(8) - unified linux network statistics (Man Page).....
This manual page documents briefly the lnstat command. lnstat is a generalized and more feature-complete replacement for the old rtstat program. In addition to
sane-stv680(5) - SANE backend for STV680 camera's (ManPage)
The sane-stv680 library implements a SANE (Scanner Access Now Easy) backend that provides access to some STV680 cameras. This backend should be considered beta-
pcre16_copy_named_substring(3) Perl-compatible regular expre
This is a convenience function for extracting a captured substring, identified by name, into a given buffer. The arguments are: code Pattern that was successful
pam_selinux(8) - PAM module to set the default security cont
In a nutshell, pam_selinux sets up the default security context for the next execed shell. When an application opens a session using pam_selinux, the shell that
XCopyColormapAndFree(3) - create, copy, or destroy colormaps
The XCreateColormap function creates a colormap of the specified visual type for the screen on which the specified window resides and returns the colormap ID as
xdr_u_short(3) - library routines for external data represen
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using
islessequal(3) - floating-point relational tests without exc
The normal relation operations (like <, less than) will fail if one of the operands is NaN. This will cause an exception. To avoid this, C99 defines the macros
openssl(1ssl) - OpenSSL command line tool - Linux man page
OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer ( SSL v2/v3) and Transport Layer Security ( TLS v1) network protocols and related crypto
ppmcolormask(1) - produce mask of areas of a certain color i
This program is part of Netpbm(1) ppmcolormask reads a PPM file as input and produces a PBM (bitmap) file as output. The output file is the same dimensions as t
grid(n) - Geometry manager that arranges widgets in a grid
The grid command is used to communicate with the grid geometry manager that arranges widgets in rows and columns inside of another window, called the geometry m
XConvertSelection(3) - manipulate window selection (ManPage)
The XSetSelectionOwner function changes the owner and last-change time for the specified selection and has no effect if the specified time is earlier than the c