aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/msp430/floatunhisf.c
blob: 423627ab1cd0da73d2689383fd4a58be57bd599f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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);

SFtype
__floatunhisf (UHItype u)
{
  return __floatunsisf ((unsigned long)u);
}