summaryrefslogtreecommitdiff
path: root/libgcc/config/msp430/floatunhidf.c
blob: a02a953d54fbbb6a92f3d692c5fcc4b69dbcefb8 (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 DFtype __attribute__ ((mode (DF)));

extern DFtype __floatunsidf (unsigned long);

DFtype __floatunhidf (UHItype);

DFtype
__floatunhidf (UHItype u)
{
  return __floatunsidf ((unsigned long)u);
}