2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathffp_intern.h"
10 Compare a ffp-number against zero.
20 negative : result is negative
35 Sign is negative: return -1
43 AROS_LHA(float, fnum
, D1
),
44 struct LibHeader
*, MathBase
, 8, Mathffp
48 /* fnum1 is negative */
51 SetSR(Negative_Bit
, Zero_Bit
| Overflow_Bit
| Negative_Bit
);
58 SetSR(Zero_Bit
, Zero_Bit
| Overflow_Bit
| Negative_Bit
);
62 /* fnum1 is positive */
63 SetSR(0, Zero_Bit
| Overflow_Bit
| Negative_Bit
);