view libgcc/config/msp430/floatunhidf.c @ 136:4627f235cf2a

fix c-next example
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 14:11:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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);
}