home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
PASCAL
/
NRPAS
/
ERF.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-12-01
|
163b
|
9 lines
FUNCTION erf(x: real): real;
BEGIN
IF (x < 0.0) THEN BEGIN
erf := -gammp(0.5,sqr(x))
END ELSE BEGIN
erf := gammp(0.5,sqr(x))
END
END;