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
00037 #ifndef __SOFTFLOAT_FUNCTIONS_H__
00038 #define __SOFTFLOAT_FUNCTIONS_H__
00039
00040 #define float32_to_int(X) float32_to_int32(X);
00041 #define float32_to_long(X) float32_to_int64(X);
00042 #define float32_to_longlong(X) float32_to_int64(X);
00043
00044 #define float64_to_int(X) float64_to_int32(X);
00045 #define float64_to_long(X) float64_to_int64(X);
00046 #define float64_to_longlong(X) float64_to_int64(X);
00047
00048 #define float32_to_uint(X) float32_to_uint32(X);
00049 #define float32_to_ulong(X) float32_to_uint64(X);
00050 #define float32_to_ulonglong(X) float32_to_uint64(X);
00051
00052 #define float64_to_uint(X) float64_to_uint32(X);
00053 #define float64_to_ulong(X) float64_to_uint64(X);
00054 #define float64_to_ulonglong(X) float64_to_uint64(X);
00055
00056 #define int_to_float32(X) int32_to_float32(X);
00057 #define long_to_float32(X) int64_to_float32(X);
00058 #define longlong_to_float32(X) int64_to_float32(X);
00059
00060 #define int_to_float64(X) int32_to_float64(X);
00061 #define long_to_float64(X) int64_to_float64(X);
00062 #define longlong_to_float64(X) int64_to_float64(X);
00063
00064 #define uint_to_float32(X) uint32_to_float32(X);
00065 #define ulong_to_float32(X) uint64_to_float32(X);
00066 #define ulonglong_to_float32(X) uint64_to_float32(X);
00067
00068 #define uint_to_float64(X) uint32_to_float64(X);
00069 #define ulong_to_float64(X) uint64_to_float64(X);
00070 #define ulonglong_to_float64(X) uint64_to_float64(X);
00071
00072 #endif
00073
00074