base/math/s_erf.c File Reference

Include dependency graph for s_erf.c:

Go to the source code of this file.

Functions

double erf (double x)
double erfc (double x)

Variables

static double tiny = 1e-300
static double half = 5.00000000000000000000e-01
static double one = 1.00000000000000000000e+00
static double two = 2.00000000000000000000e+00
static double erx = 8.45062911510467529297e-01
static double efx = 1.28379167095512586316e-01
static double efx8 = 1.02703333676410069053e+00
static double pp0 = 1.28379167095512558561e-01
static double pp1 = -3.25042107247001499370e-01
static double pp2 = -2.84817495755985104766e-02
static double pp3 = -5.77027029648944159157e-03
static double pp4 = -2.37630166566501626084e-05
static double qq1 = 3.97917223959155352819e-01
static double qq2 = 6.50222499887672944485e-02
static double qq3 = 5.08130628187576562776e-03
static double qq4 = 1.32494738004321644526e-04
static double qq5 = -3.96022827877536812320e-06
static double pa0 = -2.36211856075265944077e-03
static double pa1 = 4.14856118683748331666e-01
static double pa2 = -3.72207876035701323847e-01
static double pa3 = 3.18346619901161753674e-01
static double pa4 = -1.10894694282396677476e-01
static double pa5 = 3.54783043256182359371e-02
static double pa6 = -2.16637559486879084300e-03
static double qa1 = 1.06420880400844228286e-01
static double qa2 = 5.40397917702171048937e-01
static double qa3 = 7.18286544141962662868e-02
static double qa4 = 1.26171219808761642112e-01
static double qa5 = 1.36370839120290507362e-02
static double qa6 = 1.19844998467991074170e-02
static double ra0 = -9.86494403484714822705e-03
static double ra1 = -6.93858572707181764372e-01
static double ra2 = -1.05586262253232909814e+01
static double ra3 = -6.23753324503260060396e+01
static double ra4 = -1.62396669462573470355e+02
static double ra5 = -1.84605092906711035994e+02
static double ra6 = -8.12874355063065934246e+01
static double ra7 = -9.81432934416914548592e+00
static double sa1 = 1.96512716674392571292e+01
static double sa2 = 1.37657754143519042600e+02
static double sa3 = 4.34565877475229228821e+02
static double sa4 = 6.45387271733267880336e+02
static double sa5 = 4.29008140027567833386e+02
static double sa6 = 1.08635005541779435134e+02
static double sa7 = 6.57024977031928170135e+00
static double sa8 = -6.04244152148580987438e-02
static double rb0 = -9.86494292470009928597e-03
static double rb1 = -7.99283237680523006574e-01
static double rb2 = -1.77579549177547519889e+01
static double rb3 = -1.60636384855821916062e+02
static double rb4 = -6.37566443368389627722e+02
static double rb5 = -1.02509513161107724954e+03
static double rb6 = -4.83519191608651397019e+02
static double sb1 = 3.03380607434824582924e+01
static double sb2 = 3.25792512996573918826e+02
static double sb3 = 1.53672958608443695994e+03
static double sb4 = 3.19985821950859553908e+03
static double sb5 = 2.55305040643316442583e+03
static double sb6 = 4.74528541206955367215e+02
static double sb7 = -2.24409524465858183362e+01


Function Documentation

double erf ( double  x  ) 

Definition at line 197 of file s_erf.c.

References __ieee754_exp(), efx, efx8, erx, fabs(), GET_HIGH_WORD, one, P, pa0, pa1, pa2, pa3, pa4, pa5, pa6, pp0, pp1, pp2, pp3, pp4, qa1, qa2, qa3, qa4, qa5, qa6, qq1, qq2, qq3, qq4, qq5, ra0, ra1, ra2, ra3, ra4, ra5, ra6, ra7, rb0, rb1, rb2, rb3, rb4, rb5, rb6, sa1, sa2, sa3, sa4, sa5, sa6, sa7, sa8, sb1, sb2, sb3, sb4, sb5, sb6, sb7, SET_LOW_WORD, and tiny.

Here is the call graph for this function:

double erfc ( double  x  ) 

Definition at line 253 of file s_erf.c.

References __ieee754_exp(), erx, fabs(), GET_HIGH_WORD, half, one, P, pa0, pa1, pa2, pa3, pa4, pa5, pa6, pp0, pp1, pp2, pp3, pp4, qa1, qa2, qa3, qa4, qa5, qa6, qq1, qq2, qq3, qq4, qq5, ra0, ra1, ra2, ra3, ra4, ra5, ra6, ra7, rb0, rb1, rb2, rb3, rb4, rb5, rb6, sa1, sa2, sa3, sa4, sa5, sa6, sa7, sa8, sb1, sb2, sb3, sb4, sb5, sb6, sb7, SET_LOW_WORD, tiny, and two.

Here is the call graph for this function:


Variable Documentation

double efx = 1.28379167095512586316e-01 [static]

Definition at line 129 of file s_erf.c.

Referenced by erf().

double efx8 = 1.02703333676410069053e+00 [static]

Definition at line 130 of file s_erf.c.

Referenced by erf().

double erx = 8.45062911510467529297e-01 [static]

Definition at line 125 of file s_erf.c.

Referenced by erf(), and erfc().

double half = 5.00000000000000000000e-01 [static]

Definition at line 121 of file s_erf.c.

double one = 1.00000000000000000000e+00 [static]

Definition at line 122 of file s_erf.c.

double pa0 = -2.36211856075265944077e-03 [static]

Definition at line 144 of file s_erf.c.

Referenced by erf(), and erfc().

double pa1 = 4.14856118683748331666e-01 [static]

Definition at line 145 of file s_erf.c.

Referenced by erf(), and erfc().

double pa2 = -3.72207876035701323847e-01 [static]

Definition at line 146 of file s_erf.c.

Referenced by erf(), and erfc().

double pa3 = 3.18346619901161753674e-01 [static]

Definition at line 147 of file s_erf.c.

Referenced by erf(), and erfc().

double pa4 = -1.10894694282396677476e-01 [static]

Definition at line 148 of file s_erf.c.

Referenced by erf(), and erfc().

double pa5 = 3.54783043256182359371e-02 [static]

Definition at line 149 of file s_erf.c.

Referenced by erf(), and erfc().

double pa6 = -2.16637559486879084300e-03 [static]

Definition at line 150 of file s_erf.c.

Referenced by erf(), and erfc().

double pp0 = 1.28379167095512558561e-01 [static]

Definition at line 131 of file s_erf.c.

Referenced by erf(), and erfc().

double pp1 = -3.25042107247001499370e-01 [static]

Definition at line 132 of file s_erf.c.

Referenced by erf(), and erfc().

double pp2 = -2.84817495755985104766e-02 [static]

Definition at line 133 of file s_erf.c.

Referenced by erf(), and erfc().

double pp3 = -5.77027029648944159157e-03 [static]

Definition at line 134 of file s_erf.c.

Referenced by erf(), and erfc().

double pp4 = -2.37630166566501626084e-05 [static]

Definition at line 135 of file s_erf.c.

Referenced by erf(), and erfc().

double qa1 = 1.06420880400844228286e-01 [static]

Definition at line 151 of file s_erf.c.

Referenced by erf(), and erfc().

double qa2 = 5.40397917702171048937e-01 [static]

Definition at line 152 of file s_erf.c.

Referenced by erf(), and erfc().

double qa3 = 7.18286544141962662868e-02 [static]

Definition at line 153 of file s_erf.c.

Referenced by erf(), and erfc().

double qa4 = 1.26171219808761642112e-01 [static]

Definition at line 154 of file s_erf.c.

Referenced by erf(), and erfc().

double qa5 = 1.36370839120290507362e-02 [static]

Definition at line 155 of file s_erf.c.

Referenced by erf(), and erfc().

double qa6 = 1.19844998467991074170e-02 [static]

Definition at line 156 of file s_erf.c.

Referenced by erf(), and erfc().

double qq1 = 3.97917223959155352819e-01 [static]

Definition at line 136 of file s_erf.c.

Referenced by erf(), and erfc().

double qq2 = 6.50222499887672944485e-02 [static]

Definition at line 137 of file s_erf.c.

Referenced by erf(), and erfc().

double qq3 = 5.08130628187576562776e-03 [static]

Definition at line 138 of file s_erf.c.

Referenced by erf(), and erfc().

double qq4 = 1.32494738004321644526e-04 [static]

Definition at line 139 of file s_erf.c.

Referenced by erf(), and erfc().

double qq5 = -3.96022827877536812320e-06 [static]

Definition at line 140 of file s_erf.c.

Referenced by erf(), and erfc().

double ra0 = -9.86494403484714822705e-03 [static]

Definition at line 160 of file s_erf.c.

Referenced by erf(), and erfc().

double ra1 = -6.93858572707181764372e-01 [static]

Definition at line 161 of file s_erf.c.

Referenced by erf(), and erfc().

double ra2 = -1.05586262253232909814e+01 [static]

Definition at line 162 of file s_erf.c.

Referenced by erf(), and erfc().

double ra3 = -6.23753324503260060396e+01 [static]

Definition at line 163 of file s_erf.c.

Referenced by erf(), and erfc().

double ra4 = -1.62396669462573470355e+02 [static]

Definition at line 164 of file s_erf.c.

Referenced by erf(), and erfc().

double ra5 = -1.84605092906711035994e+02 [static]

Definition at line 165 of file s_erf.c.

Referenced by erf(), and erfc().

double ra6 = -8.12874355063065934246e+01 [static]

Definition at line 166 of file s_erf.c.

Referenced by erf(), and erfc().

double ra7 = -9.81432934416914548592e+00 [static]

Definition at line 167 of file s_erf.c.

Referenced by erf(), and erfc().

double rb0 = -9.86494292470009928597e-03 [static]

Definition at line 179 of file s_erf.c.

Referenced by erf(), and erfc().

double rb1 = -7.99283237680523006574e-01 [static]

Definition at line 180 of file s_erf.c.

Referenced by erf(), and erfc().

double rb2 = -1.77579549177547519889e+01 [static]

Definition at line 181 of file s_erf.c.

Referenced by erf(), and erfc().

double rb3 = -1.60636384855821916062e+02 [static]

Definition at line 182 of file s_erf.c.

Referenced by erf(), and erfc().

double rb4 = -6.37566443368389627722e+02 [static]

Definition at line 183 of file s_erf.c.

Referenced by erf(), and erfc().

double rb5 = -1.02509513161107724954e+03 [static]

Definition at line 184 of file s_erf.c.

Referenced by erf(), and erfc().

double rb6 = -4.83519191608651397019e+02 [static]

Definition at line 185 of file s_erf.c.

Referenced by erf(), and erfc().

double sa1 = 1.96512716674392571292e+01 [static]

Definition at line 168 of file s_erf.c.

Referenced by erf(), and erfc().

double sa2 = 1.37657754143519042600e+02 [static]

Definition at line 169 of file s_erf.c.

Referenced by erf(), and erfc().

double sa3 = 4.34565877475229228821e+02 [static]

Definition at line 170 of file s_erf.c.

Referenced by erf(), and erfc().

double sa4 = 6.45387271733267880336e+02 [static]

Definition at line 171 of file s_erf.c.

Referenced by erf(), and erfc().

double sa5 = 4.29008140027567833386e+02 [static]

Definition at line 172 of file s_erf.c.

Referenced by erf(), and erfc().

double sa6 = 1.08635005541779435134e+02 [static]

Definition at line 173 of file s_erf.c.

Referenced by erf(), and erfc().

double sa7 = 6.57024977031928170135e+00 [static]

Definition at line 174 of file s_erf.c.

Referenced by erf(), and erfc().

double sa8 = -6.04244152148580987438e-02 [static]

Definition at line 175 of file s_erf.c.

Referenced by erf(), and erfc().

double sb1 = 3.03380607434824582924e+01 [static]

Definition at line 186 of file s_erf.c.

Referenced by erf(), and erfc().

double sb2 = 3.25792512996573918826e+02 [static]

Definition at line 187 of file s_erf.c.

Referenced by erf(), and erfc().

double sb3 = 1.53672958608443695994e+03 [static]

Definition at line 188 of file s_erf.c.

Referenced by erf(), and erfc().

double sb4 = 3.19985821950859553908e+03 [static]

Definition at line 189 of file s_erf.c.

Referenced by erf(), and erfc().

double sb5 = 2.55305040643316442583e+03 [static]

Definition at line 190 of file s_erf.c.

Referenced by erf(), and erfc().

double sb6 = 4.74528541206955367215e+02 [static]

Definition at line 191 of file s_erf.c.

Referenced by erf(), and erfc().

double sb7 = -2.24409524465858183362e+01 [static]

Definition at line 192 of file s_erf.c.

Referenced by erf(), and erfc().

double tiny = 1e-300 [static]

Definition at line 120 of file s_erf.c.

double two = 2.00000000000000000000e+00 [static]

Definition at line 123 of file s_erf.c.


Generated on Tue Feb 2 17:47:54 2010 for RTAI API by  doxygen 1.4.7