| Main index | Section 3 | Options |
#include <math.h>
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. erf(x) := (2/√π)∫0xexp(-t2)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.
| ERF (3) | June 23, 2024 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |