Merge branch 'vendor/GCC50' - gcc 5.0 snapshot 1 FEB 2015
[dragonfly.git] / contrib / gcc-5.0 / libgcc / config / msp430 / cmpd.c
1 /* Public domain.  */
2 int
3 __mspabi_cmpf (float x, float y)
4 {
5   if (x < y)
6     return -1;
7   if (x > y)
8     return 1;
9   return 0;
10 }
11 int
12 __mspabi_cmpd (double x, double y)
13 {
14   if (x < y)
15     return -1;
16   if (x > y)
17     return 1;
18   return 0;
19 }