The R Project SVN R

Rev

Rev 2258 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2258 Rev 2263
Line 7... Line 7...
7
#include <float.h>
7
#include <float.h>
8
#include <limits.h>
8
#include <limits.h>
9
#include <math.h>
9
#include <math.h>
10
#include <stdlib.h>
10
#include <stdlib.h>
11
 
11
 
12
/* possible -lm / Fortran conflicts:*/
-
 
13
#define gamma Rgamma
-
 
14
#define lgamma Rlgamma
-
 
15
 
-
 
16
/* 30 Decimal-place constants computed with bc -l (scale=32; proper round) */
12
/* 30 Decimal-place constants computed with bc -l (scale=32; proper round) */
17
 
13
 
18
#ifndef M_SQRT_2
14
#ifndef M_SQRT_2
19
#define M_SQRT_2	1.4142135623730950488016887242097
15
#define M_SQRT_2	1.4142135623730950488016887242097
20
#define M_1_SQRT_2	0.707106781186547524400844362105	/* 1/sqrt(2) */
16
#define M_1_SQRT_2	0.707106781186547524400844362105	/* 1/sqrt(2) */