mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-02 03:50:17 +00:00
26 lines
314 B
C
26 lines
314 B
C
/* Public domain. */
|
|
|
|
int __mspabi_cmpf (float, float);
|
|
|
|
int
|
|
__mspabi_cmpf (float x, float y)
|
|
{
|
|
if (x < y)
|
|
return -1;
|
|
if (x > y)
|
|
return 1;
|
|
return 0;
|
|
}
|
|
|
|
int __mspabi_cmpd (double, double);
|
|
|
|
int
|
|
__mspabi_cmpd (double x, double y)
|
|
{
|
|
if (x < y)
|
|
return -1;
|
|
if (x > y)
|
|
return 1;
|
|
return 0;
|
|
}
|