gvalues.h
Go to the documentation of this file.
00001 #ifndef _GVALUES_H_
00002 #define _GVALUES_H_
00003 
00004 #define MAXDOUBLE 1e1000
00005 #ifdef LINUX
00006         #include <values.h>
00007 #endif
00008 #ifdef MACOSX
00009         #include <limits.h>
00010         #include <math.h>
00011         //#define isnan(x) (x==FP_NAN)
00012 #endif
00013 #ifdef _WIN32
00014   #include <limits>
00015   #ifndef __DRAND48_DEFINED__
00016      #define __DRAND48_DEFINED__
00017      inline double drand48() { return double(rand()) / RAND_MAX;}
00018   #endif
00019   #ifndef M_PI
00020     #define M_PI 3.1415926535897932384626433832795
00021   #endif
00022   #define round(d) (floor((d) + 0.5))
00023   typedef unsigned int uint;
00024   #define isnan(x) (_isnan(x))
00025 #endif
00026 
00027 #endif 
00028 


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Fri Aug 28 2015 11:56:21