Retro68/gcc/libgcc/config/msp430/floatunhidf.c

13 lines
305 B
C
Raw Normal View History

2014-09-21 17:33:12 +00:00
/* 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);
}