Main Page
Namespaces
Classes
Files
File List
File Members
include
gmapping
utils
gvalues.h
Go to the documentation of this file.
1
#ifndef _GVALUES_H_
2
#define _GVALUES_H_
3
4
#define MAXDOUBLE 1e1000
5
#ifdef LINUX
6
#include <values.h>
7
#endif
8
#ifdef MACOSX
9
#include <limits.h>
10
#include <math.h>
11
//#define isnan(x) (x==FP_NAN)
12
#endif
13
#ifdef _WIN32
14
#include <limits>
15
#ifndef __DRAND48_DEFINED__
16
#define __DRAND48_DEFINED__
17
inline
double
drand48() {
return
double(rand()) / RAND_MAX;}
18
#endif
19
#ifndef M_PI
20
#define M_PI 3.1415926535897932384626433832795
21
#endif
22
#define round(d) (floor((d) + 0.5))
23
typedef
unsigned
int
uint;
24
#define isnan(x) (_isnan(x))
25
#endif
26
27
#endif
28
openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22