erf(3M) Mathematical Library Functions erf(3M)NAME
erf, erff, erfl - error function
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <math.h>
double erf(double x);
float erff(float x);
long double erfl(long double x);
DESCRIPTION
These functions compute the error function of their argument x, defined as:
2/sqrt(pi)*intregral from 0 to x of exp(-t*t) dt
RETURN VALUES
Upon successful completion, these functions return the value of the error function.
If x is NaN, a NaN is returned.
If x is +-0, +-0 is returned.
If x is +-Inf, +-1 is returned.
If x is subnormal, 2/sqrt(pi) * 2 is returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO erfc(3M), feclearexcept(3M), fetestexcept(3M), isnan(3M), math.h(3HEAD), attributes(5), standards(5)SunOS 5.11 12 Jul 2006 erf(3M)
Check Out this Related Man Page
erf(3M) Mathematical Library Functions erf(3M)NAME
erf, erff, erfl - error function
SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <math.h>
double erf(double x);
float erff(float x);
long double erfl(long double x);
DESCRIPTION
These functions compute the error function of their argument x, defined as:
2/sqrt(pi)(**|integral from 0 to x of exp(-t(**t) dt
Equation that computes error function of x.
RETURN VALUES
Upon successful completion, these functions return the value of the error function.
If x is NaN, a NaN is returned.
If x is +-0, +-0 is returned.
If x is +-Inf, +-1 is returned.
If x is subnormal, 2/sqrt() * 2 is returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO erfc(3M), feclearexcept(3M), fetestexcept(3M), isnan(3M), math.h(3HEAD), attributes(5), standards(5)SunOS 5.10 1 Nov 2003 erf(3M)
Hi,
i was using a input file to get the last line of the file.But now i have stored
the values from the file to a variable and want the last line from the variable . Slightly confused on how to extract that data from the variable.
previous code,
cat input.txt
<TIME>00:15:48</TIME>... (2 Replies)
Hi All, I will need an help with respect to replacing a range of columns on a non-delimited file using a particular string pattern.
Say file input is
MYNUMBERD000000-BAN CHUE INSNTS ** N+
MYAREDSDD000000+BAN CHUE INSNTS ** N+
MYDERFFFSD00000-GIR PENT - ACH ** ... (5 Replies)
Good morning dear friends,
I want to write an UNIX script to do the following task:
We have 6 directories, called (SMS_01, SMS_02 ....... SMS_06), some files are distributed across these directories, but the distribution process is not good, I mean when I check these directories I found the... (14 Replies)