view libgcc/config/msp430/floathisf.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 float SFtype __attribute__ ((mode (SF)));

extern SFtype __floatsisf (unsigned long);

SFtype __floathisf (HItype);

SFtype
__floathisf (HItype u)
{
  return __floatsisf ((unsigned long)u);
}