Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 #if defined(_F_LOG4) && defined(_F_LOG8)
00040 #include <limits.h>
00041 #endif
00042
00043 #define DVSUBTYPE_BIT32 9
00044 #define DVSUBTYPE_BIT64 10
00045 #define DVSUBTYPE_BIT128 11
00046 #define DVSUBTYPE_BIT256 12
00047 #define DVSUBTYPE_CHAR 13
00048 #define DVSUBTYPE_DERIVED 14
00049 #define DVSUBTYPE_INT32 15
00050 #ifdef _F_INT6
00051 #define DVSUBTYPE_INT46 16
00052 #endif
00053 #define DVSUBTYPE_INT64 17
00054 #define DVSUBTYPE_REAL64 18
00055 #define DVSUBTYPE_REAL128 19
00056 #define DVSUBTYPE_REAL32 20
00057 #ifdef _F_COMP4
00058 #define DVSUBTYPE_COMP64 21
00059 #endif
00060 #define DVSUBTYPE_BIT16 22
00061 #define DVSUBTYPE_BIT8 23
00062
00063 #ifdef _F_COMP16
00064 typedef struct {
00065 _f_real16 re;
00066 _f_real16 im;
00067 } dblcmplx;
00068 #endif
00069
00070 typedef _f_dble dblword;
00071
00072 #if defined(_F_LOG2) && defined(__mips)
00073 #define LTOB(i,a) \
00074 ((i == 8*CHAR_BIT) ? (_lvtob((*(_f_log8 *) (a)))) : \
00075 ((i == 4*CHAR_BIT) ? (_lvtob((*(_f_log4 *) (a)))) : \
00076 ((i == 2*CHAR_BIT) ? (_lvtob((*(_f_log2 *) (a)))) : \
00077 ((i == 1*CHAR_BIT) ? (_lvtob((*(_f_log1 *) (a)))) : \
00078 (_lvtob((*(_f_log *) (a))))))))
00079 #elif defined(_F_LOG4) && defined(_F_LOG8)
00080 #define LTOB(i,a) \
00081 ((i == 4*CHAR_BIT) ? (_lvtob((*(_f_log4 *) (a)))) : (_lvtob((*(_f_log8 *) (a)))))
00082 #else
00083 #define LTOB(i,a) (_lvtob((*(_f_log *) (a))))
00084 #endif
00085
00086 #ifdef _F_REAL4
00087 #define HUGE_S4_REAL HUGE_REAL4_F90
00088 #endif
00089 #define HUGE_S8_REAL HUGE_REAL8_F90
00090 #define HUGE_S16_REAL HUGE_REAL16_F90
00091
00092 #define BITS_PER_BYTE (BITS_PER_WORD / BYTES_PER_WORD)
00093
00094 #ifdef _F_LOG4
00095 typedef _f_log4 _f_mask;
00096 #else
00097 typedef _f_log _f_mask;
00098 #endif