Retro68/gcc/libgcc/config/msp430/floatunhidf.c
2014-09-21 19:33:12 +02:00

13 lines
305 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 u)
{
return __floatunsidf ((unsigned long)u);
}