2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathieeesingbas_intern.h"
10 Compares two ieeesp numbers
39 AROS_LH2(LONG
, IEEESPCmp
,
40 AROS_LHA(LONG
, y
, D0
),
41 AROS_LHA(LONG
, z
, D1
),
42 struct LibHeader
*, MathIeeeSingBasBase
, 7, Mathieeesingbas
49 SetSR(Zero_Bit
, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
57 SetSR(0, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
62 SetSR(Negative_Bit
, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
67 if ((LONG
)y
< (LONG
)z
)
69 SetSR(Negative_Bit
, Zero_Bit
| Negative_Bit
| Overflow_Bit
);
74 SetSR(0, Zero_Bit
| Negative_Bit
| Overflow_Bit
);