erf.3 (7f3dea244c40159a41ab22da77a434d7c5b5e85a) erf.3 (46eea498dad0e3e124479b7083b5f1d013a19e02)
1.\" Copyright (c) 1985, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 46 unchanged lines hidden (view full) ---

55These functions calculate the error function of
56.Fa x .
57.Pp
58The
59.Fn erf
60and the
61.Fn erff
62functions calculate the error function of x; where
1.\" Copyright (c) 1985, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 46 unchanged lines hidden (view full) ---

55These functions calculate the error function of
56.Fa x .
57.Pp
58The
59.Fn erf
60and the
61.Fn erff
62functions calculate the error function of x; where
63.Bd -filled -offset indent
63.Bd -ragged -offset indent
64.if n \{\
65erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \}
66.if t \{\
67erf\|(x) :=
68(2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt. \}
69.Ed
70.Pp
71The

--- 22 unchanged lines hidden ---
64.if n \{\
65erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \}
66.if t \{\
67erf\|(x) :=
68(2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt. \}
69.Ed
70.Pp
71The

--- 22 unchanged lines hidden ---