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