#include <lal/LALConfig.h>
#include <lal/LALRCSID.h>
Include dependency graph for LALAtomicDatatypes.h:

Go to the source code of this file.
Data Structures | |
| struct | tagCOMPLEX8 |
| Single-precision floating-point complex number (8 bytes total). More... | |
| struct | tagCOMPLEX16 |
| Double-precision floating-point complex number (16 bytes total). More... | |
Defines | |
| #define | LAL_INT8_C(v) (v ## LL) |
| #define | LAL_UINT8_C(v) (v ## ULL) |
Typedefs | |
| typedef char | CHAR |
| One-byte signed integer. | |
| typedef unsigned char | UCHAR |
| One-byte unsigned integer. | |
| typedef unsigned char | BOOLEAN |
| typedef short | INT2 |
| Two-byte signed integer. | |
| typedef unsigned short | UINT2 |
| Two-byte unsigned integer. | |
| typedef int | INT4 |
| Four-byte signed integer. | |
| typedef unsigned int | UINT4 |
| Four-byte unsigned integer. | |
| typedef long long | INT8 |
| Eight-byte signed integer. | |
| typedef unsigned long long | UINT8 |
| Eight-byte unsigned integer. | |
| typedef float | REAL4 |
| Single precision real floating-point number (4 bytes). | |
| typedef double | REAL8 |
| Double precision real floating-point number (8 bytes). | |
| typedef tagCOMPLEX8 | COMPLEX8 |
| Single-precision floating-point complex number (8 bytes total). | |
| typedef tagCOMPLEX16 | COMPLEX16 |
| Double-precision floating-point complex number (16 bytes total). | |
Functions | |
| NRCSID (LALATOMICDATATYPESH,"$Id: LALAtomicDatatypes.h,v 1.9 2007/06/08 14:41:52 bema Exp $") | |
D. E., and Creighton, T. D.
The number in the name of each of these types (other than CHAR and UCHAR) is the number of 8-bit bytes that the datatype occupies. E.g., INT4 is a four-byte integer. In C99 it would be called int32_t. While the size of types such as int and long int are platform dependent, the sizes of INT4 and INT8 is always 4- and 8-bytes respectively (platform independent). REAL4 and REAL8 are always type float and double but LAL is only supported on platforms in which these types conform to the IEEE 754 standard.
This documentation shows how the datatypes are defined on today's most common (32-bit) platform. Be careful in particular about the integer type INT8. On 64-bit platforms it will usually be equivalent to type long int rather than type long long int.
Definition in file LALAtomicDatatypes.h.
Definition at line 355 of file LALAtomicDatatypes.h.
Definition at line 356 of file LALAtomicDatatypes.h.
| typedef char CHAR |
| typedef unsigned char UCHAR |
| typedef unsigned char BOOLEAN |
Definition at line 211 of file LALAtomicDatatypes.h.
| typedef short INT2 |
| typedef short UINT2 |
| typedef int INT4 |
| typedef int UINT4 |
| typedef long long INT8 |
Eight-byte signed integer.
On some platforms this is equivalent to long int instead.
Definition at line 335 of file LALAtomicDatatypes.h.
| typedef long long UINT8 |
Eight-byte unsigned integer.
On some platforms this is equivalent to unsigned long int instead.
Definition at line 336 of file LALAtomicDatatypes.h.
| typedef float REAL4 |
Single precision real floating-point number (4 bytes).
Definition at line 365 of file LALAtomicDatatypes.h.
| typedef double REAL8 |
Double precision real floating-point number (8 bytes).
Definition at line 372 of file LALAtomicDatatypes.h.
| typedef struct tagCOMPLEX8 COMPLEX8 |
Single-precision floating-point complex number (8 bytes total).
| typedef struct tagCOMPLEX16 COMPLEX16 |
Double-precision floating-point complex number (16 bytes total).
| NRCSID | ( | LALATOMICDATATYPESH | , | |
| "$Id: LALAtomicDatatypes. | h, | |||
| v 1.9 2007/06/08 14:41:52 bema Exp $" | ||||
| ) |
1.5.2