* MAINTAINERS: Add Nick Clifton and DJ Delorie as msp430
[official-gcc.git] / libgcc / config / msp430 / cmpd.c
blob03e690dff53ae4d2878fa34cf0ac97147d43a91f
1 /* Public domain. */
2 int
3 __mspabi_cmpf (float x, float y)
5 if (x < y)
6 return -1;
7 if (x > y)
8 return 1;
9 return 0;
11 int
12 __mspabi_cmpd (double x, double y)
14 if (x < y)
15 return -1;
16 if (x > y)
17 return 1;
18 return 0;