13 #define MAYBE_INLINE inline
14 #include "cl_SF_minusp.cc"
16 cl_signean cl_compare (const cl_SF& x, const cl_SF& y)
19 // x und y haben verschiedenes Vorzeichen ->
22 // x und y haben gleiches Vorzeichen ->
23 // x >=0 -> vergleiche x und y (die rechten 24 Bits)
24 // x <0 -> vergleiche y und x (die rechten 24 Bits)
29 { if (x.word < y.word) return signean_minus; // x<y
30 if (x.word > y.word) return signean_plus; // x>y
35 { return signean_minus; } // x<y
40 { return signean_plus; } // x>y
43 { if (x.word > y.word) return signean_minus; // |x|>|y| -> x<y
44 if (x.word < y.word) return signean_plus; // |x|<|y| -> x>y