| 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.
| “ | On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. | ” |
| — Charles Babbage | ||