https://github.com/cran/spatstat
Raw File
Tip revision: 32c7daeb36b6e48fd0356bdcec9580ae124fee5e authored by Adrian Baddeley on 29 December 2015, 22:08:27 UTC
version 1.44-1
Tip revision: 32c7dae
constants.h
/* 
   constants.h

   Ensure that required constants are defined
   (Insurance against flaky installations)

   $Revision: 1.1 $  $Date: 2013/08/09 08:14:15 $

*/

#ifndef M_PI 
#define M_PI 3.141592653589793
#endif
#ifndef M_PI_2 
#define M_PI_2 1.570796326794897
#endif
#ifndef M_2_PI 
#define M_2_PI (2.0/M_PI)
#endif
#ifndef M_2PI 
#define M_2PI 6.283185307179586
#endif

   

back to top