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)
Check Out this Related Man Page
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)
I have an Oki-Page 14ex with 4MB of RAM. Whenever I print large documents or a several small documents, I get a buffer overflow. Can anyone help? Thanks.
If there is any additional information you need, please feel free to ask.
Tim (3 Replies)
Hi everybody,
I have a problem. I'm trying to ftp a file to a remote system. my shell that wrote is look for a data in a area and when it there its starting the ftp.:) At this point it works. Then it does cd $quelle
ftp -n test <<EUF
user anonymous test
image
put W*
EUF
and so... (12 Replies)
Guys,
I have two big numbers to multiply. In doing do I am getting integer overflow.
I managed to multiply number but this number is useless as KSh does not recognise it as
a valid number. Here is what I am doing
$ expr 999999999999 \* 100
276447132
I got the right value by doing... (2 Replies)
is /. superfluous? why not just say / ?
I can see a use for . on its own. But /. seems superfluous/redundant.
I'm guessing it must have some good reason, there's a whole website named after it!! (5 Replies)
I have the following expression:
#define GB (1024 * 1024 * 1024)
#define TB (1024 * GB)
#define MAX_SIZE (3 * TB)
off_t current_size;
And then the expression...
if (current_size > MAX_SIZE)
{
... (1 Reply)
Hi,
I am trying to backup a system ("client") through a slow network using "nim mksysb" on a nim server ("master")
The backup starts, but doesn't success.
Thanks if you can help me to resolve this problem :
Creating information file (/image.data) for rootvg...
Creating list of files to... (2 Replies)
I have come accross a rather strange problem with two buffers that seem to be overriding each other.
bool killSession(const Session &session){
//Get user
FILE* fp = fopen("conf/sessions.current", "rt");
char line; char user; int x = 0; int leaseTime;
printf("key: %s \n" ,... (2 Replies)
Hi.
I need to boot on Sun Blade 150 from scsi-disk, that ran on old Sun Ultra 10.
It is necessary to take some the information from an old disk and something to study.
The workstation is booted and I receive the following issue::mad:
Sun Blade 150 (UltraSPARC-IIe 650MHz), No Keyboard (tip... (3 Replies)
hi folks,
Do you have any idea why this error occurs ?
My server is hp blade in c7000 frames running RHEL 4 update 4.
# uname -a
Linux xxx 3 2.6.9-55.0.12.ELsmp #1 SMP Wed Oct 17 08:15:59 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Applications running are jboss or java applications:
#... (4 Replies)
Hey,
Success!
I have converted the posts (each of the main posts) from table tags to div tags and the problem with the scroll bar and code tags is fixed, as I predicted (Yay!).
Now I'm testing this (only I see the new results because the new code is restricted to my userid) but I would... (27 Replies)
YAY!
Finally, seems like forever, I added this CSS to the posts (postbit) for table columns and scrollbars work still do not work for code tags and text inside posts.
<style>
td {
max-width:200px;
overflow: auto;
white-space: nowrap;
}
</style>
YAY...
Now scollbars... (3 Replies)