Home | History | Annotate | Line # | Download | only in msp430
      1 /* Public domain.  */
      2 
      3 int __mspabi_cmpf (float, float);
      4 
      5 int
      6 __mspabi_cmpf (float x, float y)
      7 {
      8   if (x < y)
      9     return -1;
     10   if (x > y)
     11     return 1;
     12   return 0;
     13 }
     14 
     15 int __mspabi_cmpd (double, double);
     16 
     17 int
     18 __mspabi_cmpd (double x, double y)
     19 {
     20   if (x < y)
     21     return -1;
     22   if (x > y)
     23     return 1;
     24   return 0;
     25 }
     26