Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
util
Types.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPES_H_
36
#define _BLAZE_UTIL_TYPES_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <cstddef>
44
#include <cstdint>
45
46
47
namespace
blaze {
48
49
//=================================================================================================
50
//
51
// TYPE DEFINITIONS
52
//
53
//=================================================================================================
54
55
//*************************************************************************************************
60
using
std::size_t;
61
//*************************************************************************************************
62
63
64
//*************************************************************************************************
69
using
std::ptrdiff_t;
70
//*************************************************************************************************
71
72
73
//*************************************************************************************************
79
using
byte_t
=
unsigned
char;
80
//*************************************************************************************************
81
82
83
//*************************************************************************************************
88
using
std::int8_t;
89
//*************************************************************************************************
90
91
92
//*************************************************************************************************
97
using
std::uint8_t;
98
//*************************************************************************************************
99
100
101
//*************************************************************************************************
106
using
std::int16_t;
107
//*************************************************************************************************
108
109
110
//*************************************************************************************************
115
using
std::uint16_t;
116
//*************************************************************************************************
117
118
119
//*************************************************************************************************
124
using
std::int32_t;
125
//*************************************************************************************************
126
127
128
//*************************************************************************************************
133
using
std::uint32_t;
134
//*************************************************************************************************
135
136
137
//*************************************************************************************************
142
using
std::int64_t;
143
//*************************************************************************************************
144
145
146
//*************************************************************************************************
151
using
std::uint64_t;
152
//*************************************************************************************************
153
154
155
//*************************************************************************************************
159
using
large_t
=
int64_t
;
160
//*************************************************************************************************
161
162
163
//*************************************************************************************************
167
using
ularge_t
=
uint64_t
;
168
//*************************************************************************************************
169
170
171
//*************************************************************************************************
175
using
id_t
=
ularge_t
;
176
//*************************************************************************************************
177
178
179
//*************************************************************************************************
183
#if BLAZE_GNU_COMPILER && BLAZE_GNU_MAJOR_VERSION <= 7
184
using
fortran_charlen_t
= int;
185
#else
186
using
fortran_charlen_t
=
size_t
;
187
#endif
188
//*************************************************************************************************
189
190
191
//*************************************************************************************************
195
struct
fortran_complex8
196
{
197
float
real
;
198
float
imag
;
199
};
200
//*************************************************************************************************
201
202
203
//*************************************************************************************************
207
struct
fortran_complex16
208
{
209
double
real
;
210
double
imag
;
211
};
212
//*************************************************************************************************
213
214
}
// namespace blaze
215
216
#endif
int64_t
64-bit signed integer type of the Blaze library.
size_t
Size type of the Blaze library.
uint64_t
64-bit unsigned integer type of the Blaze library.
blaze::large_t
int64_t large_t
The largest available signed integer data type.
Definition
Types.h:159
blaze::byte_t
unsigned char byte_t
Byte data type of the Blaze library.
Definition
Types.h:79
blaze::fortran_charlen_t
size_t fortran_charlen_t
Type of the hidden arguments of character type within a Fortran forward declaration.
Definition
Types.h:186
blaze::ularge_t
uint64_t ularge_t
The largest available unsigned integer data type.
Definition
Types.h:167
blaze::id_t
ularge_t id_t
Unsigned integer data type for integral IDs.
Definition
Types.h:175
blaze::fortran_complex16
Type of double precision complex numbers within a Fortran forward declaration.
Definition
Types.h:208
blaze::fortran_complex16::real
double real
The real part of the complex number.
Definition
Types.h:209
blaze::fortran_complex16::imag
double imag
The imaginary part of the complex number.
Definition
Types.h:210
blaze::fortran_complex8
Type of single precision complex numbers within a Fortran forward declaration.
Definition
Types.h:196
blaze::fortran_complex8::imag
float imag
The imaginary part of the complex number.
Definition
Types.h:198
blaze::fortran_complex8::real
float real
The real part of the complex number.
Definition
Types.h:197
Generated by
1.18.0