2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathffp_intern.h"
8 /*****************************************************************************
15 AROS_LHA(float, fnum
, D1
),
18 struct LibHeader
*, MathBase
, 8, Mathffp
)
21 Compare a ffp-number against zero.
32 negative : result is negative
39 Sign is negative: return -1
43 *****************************************************************************/
47 D(kprintf("SPTst(%08x)\n", fnum
));
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
);