PR libstdc++/84769 qualify std::get and std::get_if to avoid ADL
[official-gcc.git] / libgcc / config / msp430 / cmpd.c
blobc65c466c7ba6c45c81dc94a8df69224f6b6e70bc
1 /* Public domain. */
3 int __mspabi_cmpf (float, float);
5 int
6 __mspabi_cmpf (float x, float y)
8 if (x < y)
9 return -1;
10 if (x > y)
11 return 1;
12 return 0;
15 int __mspabi_cmpd (double, double);
17 int
18 __mspabi_cmpd (double x, double y)
20 if (x < y)
21 return -1;
22 if (x > y)
23 return 1;
24 return 0;