Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

erfl(3) [osx man page]

ERF(3)							   BSD Library Functions Manual 						    ERF(3)

erf, erfc -- error function operators SYNOPSIS
#include <math.h> double erf(double x); long double erfl(long double x); float erff(float x); double erfc(double x); long double erfcl(long double x); float erfcf(float x); DESCRIPTION
These functions calculate the error function of x. The erf() function 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() computes the difference of the error function erf(x) from 1.0. This is useful, since for large x use of erfc() avoids loss of precision due to cancellation. SPECIAL VALUES
erf(+-0) returns +-0. erf(+-infinity) returns +-1. erfc(-infinity) returns 2. erfc(+infinity) returns +0. SEE ALSO
The erf() and erfc() functions conform to ISO/IEC 9899:2011. 4.3 Berkeley Distribution December 11, 2006 4.3 Berkeley Distribution

Check Out this Related Man Page

erfc(3M)						  Mathematical Library Functions						  erfc(3M)

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)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Printer buffer overflow

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)
Discussion started by: AltatemTC
3 Replies

2. UNIX for Dummies Questions & Answers

Line overflow??

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)
Discussion started by: Peterh
12 Replies

3. Shell Programming and Scripting

KSH arithmatic Integer overflow

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)
Discussion started by: vikas_sri
2 Replies

4. UNIX for Dummies Questions & Answers

is /. superfluous? why not just say / ?

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)
Discussion started by: james hanley
5 Replies

5. Programming

warning: integer overflow in expression

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)
Discussion started by: tantric
1 Replies

6. Programming

mask_pop_op() Stack underflow error !

Hi All, I am getting this error . Can any one tell why this error occurs ??... What is the cause of the this error . Thanks, Arun (1 Reply)
Discussion started by: arunkumar_mca
1 Replies

7. AIX

nim mksysb buffer overflow error

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 (/ for rootvg... Creating list of files to... (2 Replies)
Discussion started by: astjen
2 Replies

8. Programming

c++ overflow problem

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)
Discussion started by: mshindo
2 Replies

9. Solaris

Booting from wrong SCSI-disk. Error -256 Stack Underflow

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)
Discussion started by: wolfgang
3 Replies

10. UNIX for Advanced & Expert Users

neighbor table overflow

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)
Discussion started by: linuxgeek
4 Replies

11. What is on Your Mind?

Posts Converted to Divs - Overflow Works - Now Testing

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)
Discussion started by: Neo
27 Replies

12. War Stories

Scrollbars and Overflow in Posts (Code Tags)

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)
Discussion started by: Neo
3 Replies