ERF(3) BSD Library Functions Manual ERF(3)NAME
erf, erff, erfl, erfc, erfcf, erfcl -- error function operators
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
erf(double x);
float
erff(float x);
long double
erfl(long double x);
double
erfc(double x);
float
erfcf(float x);
long double
erfcl(long double x);
DESCRIPTION
These functions calculate the error function of x.
The erf(), erff(), and erfl() functions calculate the error function of x; where
erf(x) = 2/sqrt(pi)*integral from 0 to x of exp(-t*t) dt.
The erfc(), erfcf(), and erfcl() functions calculate the complementary error function of x; that is erfc() subtracts the result of the error
function erf(x) from 1.0.
SEE ALSO math(3)HISTORY
The erf() and erfc() functions appeared in 4.3BSD.
BSD July 13, 2014 BSD
Check Out this Related Man Page
erfc(3M) Mathematical Library Functions erfc(3M)NAME
erfc, erfcf, erfcl - complementary error function
SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <math.h>
double erfc(double x);
float erfcf(float x);
long double erfcl(long double x);
DESCRIPTION
These function compute the complementary error function 1.0 - erf(x).
RETURN VALUES
Upon successful completion, these functions return the value of the complementary error function.
If x is NaN, a NaN is returned.
If x is +-0, +1 is returned.
If x is -Inf, +2 is returned.
If x is +Inf, 0 is returned.
ERRORS
No errors are defined.
USAGE
The erfc() function is provided because of the extreme loss of relative accuracy if erf(x) is called for large x and the result subtracted
from 1.0.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO erf(3M), isnan(3M), math.h(3HEAD), attributes(5), standards(5)SunOS 5.10 1 Sep 2002 erfc(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)