Retro68/gcc/libgcc/config/msp430/floatunhidf.c
2017-10-07 02:16:47 +02:00

15 lines
338 B
C

/* Public domain. */
typedef int HItype __attribute__ ((mode (HI)));
typedef unsigned int UHItype __attribute__ ((mode (HI)));
typedef float DFtype __attribute__ ((mode (DF)));
extern DFtype __floatunsidf (unsigned long);
DFtype __floatunhidf (UHItype);
DFtype
__floatunhidf (UHItype u)
{
return __floatunsidf ((unsigned long)u);
}