1 //-----------------------------------------------------------------------------
3 // Author : philippe.billet@noos.fr
5 // Error function erf(x)
8 //-----------------------------------------------------------------------------
12 static void yyerf(void);
38 d
= 1.0 - erfc(p1
->u
.d
);
43 if (isnegativeterm(p1
)) {
65 "erf(0.0) + 1", // add 1 to round off
68 "float(erf(0)) + 1", // add 1 to round off
79 test(__FILE__
, s
, sizeof s
/ sizeof (char *));