gk_types.h
Go to the documentation of this file.
1 
10 #ifndef _GK_TYPES_H_
11 #define _GK_TYPES_H_
12 
13 /*************************************************************************
14 * Basic data type definitions. These definitions allow GKlib to separate
15 * the following elemental types:
16 * - loop iterator variables, which are set to size_t
17 * - signed and unsigned int variables that can be set to any # of bits
18 * - signed and unsigned long variables that can be set to any # of bits
19 * - real variables, which can be set to single or double precision.
20 **************************************************************************/
21 /*typedef ptrdiff_t gk_idx_t; */ /* index variable */
22 typedef ssize_t gk_idx_t; /* index variable */
23 typedef int32_t gk_int_t; /* integer values */
24 typedef uint32_t gk_uint_t; /* unsigned integer values */
25 typedef int64_t gk_long_t; /* long integer values */
26 typedef uint64_t gk_ulong_t; /* unsigned long integer values */
27 typedef float gk_real_t; /* real type */
28 typedef double gk_dreal_t; /* double precission real type */
29 typedef double gk_wclock_t; /* wall-clock time */
30 
31 /*#define GK_IDX_MAX PTRDIFF_MAX*/
32 #define GK_IDX_MAX ((SIZE_MAX>>1)-2)
33 
34 #define PRIGKIDX "zd"
35 #define SCNGKIDX "zd"
36 
37 
38 #endif
ssize_t gk_idx_t
Definition: gk_types.h:22
double gk_dreal_t
Definition: gk_types.h:28
signed __int64 int64_t
Definition: ms_stdint.h:94
unsigned __int64 uint64_t
Definition: ms_stdint.h:95
unsigned int uint32_t
Definition: ms_stdint.h:85
signed int int32_t
Definition: ms_stdint.h:82
uint64_t gk_ulong_t
Definition: gk_types.h:26
double gk_wclock_t
Definition: gk_types.h:29
float gk_real_t
Definition: gk_types.h:27
int64_t gk_long_t
Definition: gk_types.h:25
int32_t gk_int_t
Definition: gk_types.h:23
uint32_t gk_uint_t
Definition: gk_types.h:24


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:08