ERF(3) BSD Library Functions Manual ERF(3)NAME
erf, erff, erfc, erfcf -- error function operators
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
erf(double x);
float
erff(float x);
double
erfc(double x);
float
erfcf(float x);
DESCRIPTION
These functions calculate the error function of x.
The erf() calculates the error function of x; where
erf(x) = 2/sqrt(pi)*integral from 0 to x of exp(-t*t) dt.
The erfc() function calculates the complementary error function of x; that is erfc() subtracts the result of the error function erf(x) from
1.0. This is useful, since for large x places disappear.
SEE ALSO math(3)HISTORY
The erf() and erfc() functions appeared in 4.3BSD.
BSD April 20, 1991 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)
Hello,
I have a problem with a server. I have access to 2 different root accounts, and they appear to be stuck doing something with sh. I also could not get to the machine with ssh as I usually do; I had to use rlogin.
Here is what happens when I try to su to a root acount:
-bash-3.00$ su... (23 Replies)
Matez,
I have a list of process id's in a text file. I want to know how to find the idle time of a process which are more than 300secs and kill them accordingly.
Could you please help me to get these details. I want to write a shell script with this.
Thanks..Krish :) (36 Replies)
What program can I use to determine what process is writing to disk?
I've got a Linux server and iostat reports something is writing to the system drive:
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 169.83 ... (26 Replies)
Hello,
How can I know if ORACLE Database is running slow due to Memory or due to processing power ?
I have only Oracle Database running on a P4 with 4GB RAM.
Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
Hi,
I have a directory /home/datasets/ which contains a bunch (720) of subdirectories called hour_1/ hour_2/ etc..etc.. in each of these there is a single text file called (hour_1.txt in hour_1/ , hour_2.txt for hour_2/ etc..etc..) and i would like to do some text processing in them.
Each of... (20 Replies)
Hi,
I have a script below for extracting xml from a file.
for i in *.txt
do
echo $i
awk '/<.*/ , /.*<\/.*>/' "$i" | tr -d '\n'
echo -ne '\n'
done
.
I read about using multi threading to speed up the script.
I do not know much about it but read it on this forum.
Is it a... (21 Replies)
hello,
I have a Linux server with two interfaces eth0 and eth1. I configured two IP addresses from two different networks on 2 interfaces, and I connected both interfaces on two different switches.
the IP address of eth0 is responding without problem to ping from equipment of its home network,... (25 Replies)
hi guys
We have a AIX Server with TSM installed.
This server has en0 for administration purposes and we have en1 for backup stuff.
en0 subnet 10.10.10.x
en1 subnet 10.10.20.x
The issue we are having is all of a sudden the LPARs we are backing up lose connectivity to the AIX-TSM Server.... (23 Replies)
Here is a chance for Linux users to easily compare Linux CPU info and some meaningless BOGOMIPS. Everyone who is running Linux is welcome to:
cat /proc/cpuinfo
and post the results.
Here is the results for www.unix.com:
processor : 0
vendor_id : AuthenticAMD
cpu family... (182 Replies)
A recent Python upload on another site gave me the inspiration to do an unusual bash version...
This is a little tongue-in-cheek but an enjoyable bit of fun.
It took around 11 seconds to prove 90000000000 had a perfect square of 300000...
It is a stand alone program and has a degree of... (23 Replies)
Hi ,
Can anyone help me how do perform below requirement in unix.
Step1:we will receive multiple files weekly with same name(as below) in a folder(In folder we will have other files also def.dat,ghf.dat)
Filenames:
1) abc_20171204_052389.dat
2)abc_20171204_052428.dat
DON'T modify... (23 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)