RTS tidyup sweep, first phase
[ghc-hetmet.git] / rts / StgPrimFloat.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2009
4  *
5  * Primitive floating-point operations
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef STGPRIMFLOAT_H
10 #define STGPRIMFLOAT_H
11
12 /* grimy low-level support functions defined in StgPrimFloat.c */
13 extern void      __decodeDouble_2Int (I_ *man_sign, W_ *man_high, W_ *man_low, I_ *exp, StgDouble dbl);
14 extern void      __decodeFloat_Int (I_ *man, I_ *exp, StgFloat flt);
15 extern StgDouble __2Int_encodeDouble (I_ j_high, I_ j_low, I_ e);
16 extern StgDouble __int_encodeDouble (I_ j, I_ e);
17 extern StgDouble __word_encodeDouble (W_ j, I_ e);
18 extern StgFloat  __int_encodeFloat (I_ j, I_ e);
19 extern StgFloat  __word_encodeFloat (W_ j, I_ e);
20
21 #endif /* STGPRIMFLOAT_H */