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

15 lines
338 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 SFtype __attribute__ ((mode (SF)));
extern SFtype __floatunsisf (unsigned long);
SFtype __floatunhisf (UHItype);
2014-09-21 17:33:12 +00:00
SFtype
__floatunhisf (UHItype u)
{
return __floatunsisf ((unsigned long)u);
}