1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2009
5 * Primitive floating-point operations
7 * ---------------------------------------------------------------------------*/
10 #define STGPRIMFLOAT_H
12 #pragma GCC visibility push(hidden)
14 /* grimy low-level support functions defined in StgPrimFloat.c */
15 void __decodeDouble_2Int (I_ *man_sign, W_ *man_high, W_ *man_low, I_ *exp, StgDouble dbl);
16 void __decodeFloat_Int (I_ *man, I_ *exp, StgFloat flt);
17 StgDouble __2Int_encodeDouble (I_ j_high, I_ j_low, I_ e);
18 StgDouble __int_encodeDouble (I_ j, I_ e);
19 StgDouble __word_encodeDouble (W_ j, I_ e);
20 StgFloat __int_encodeFloat (I_ j, I_ e);
21 StgFloat __word_encodeFloat (W_ j, I_ e);
23 #pragma GCC visibility pop
25 #endif /* STGPRIMFLOAT_H */