00001
00002
00003
00004 #define NATIVE_DOUBLE 8
00005 #define NATIVE_FLOAT 4
00006 #define NATIVE_LONG 4
00007 #define NATIVE_INT 4
00008 #define NATIVE_SHORT 2
00009 #define NATIVE_CHAR 1
00010
00011
00012 #define DOUBLE_ORDER 0
00013 #define FLOAT_ORDER 0
00014 #define LONG_ORDER 0
00015 #define INT_ORDER 0
00016 #define SHORT_ORDER 0
00017
00018
00019
00020
00021
00022 static int dbl_cnvrt[] = {7, 6, 5, 4, 3, 2, 1, 0};
00023
00024
00025 static int flt_cnvrt[] = {3, 2, 1, 0};
00026
00027
00028 static int lng_cnvrt[] = {3, 2, 1, 0};
00029
00030
00031 static int int_cnvrt[] = {3, 2, 1, 0};
00032
00033
00034 static int shrt_cnvrt[] = {1, 0};
00035