2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathieeesingbas_intern.h"
8 /*****************************************************************************
12 AROS_LH2(LONG
, IEEESPCmp
,
15 AROS_LHA(LONG
, y
, D0
),
16 AROS_LHA(LONG
, z
, D1
),
19 struct LibHeader
*, MathIeeeSingBasBase
, 7, Mathieeesingbas
)
22 Compares two ieeesp numbers
40 *****************************************************************************/
46 SetSR(Zero_Bit
, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
54 SetSR(0, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
59 SetSR(Negative_Bit
, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
64 if ((LONG
)y
< (LONG
)z
)
66 SetSR(Negative_Bit
, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
71 SetSR(0, Zero_Bit
| Negative_Bit
| Overflow_Bit
);