# | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
---|---|---|
5 | static char sccsid[] = "@(#)erf.c 1.1 87/12/21 SMI"; /* from UCB 4.1 12/25/82 */ | |
6 | #endif | |
7 | ||
8 | + | #include "rtmath.h" |
9 | + | |
10 | /* | |
11 | C program for floating point error function | |
12 | ||
# | Line 71 | Line 73 | static double q2[] = { | |
73 | }; | |
74 | ||
75 | double | |
76 | < | erf(arg) double arg;{ |
75 | < | double erfc(); |
76 | > | erf(double arg) { |
77 | int sign; | |
78 | double argsq; | |
79 | double d, n; | |
# | Line 97 | Line 98 | erf(arg) double arg;{ | |
98 | } | |
99 | ||
100 | double | |
101 | < | erfc(arg) double arg;{ |
101 | < | double erf(); |
102 | < | double exp(); |
101 | > | erfc(double arg) { |
102 | double n, d; | |
103 | int i; | |
104 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |