X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FStgPrimFloat.h;h=cd5da46326ac45cdfd24e1de7acc6fc2d5ff2746;hb=d108044bef62f6a0d579c92ced5e8188f72edc2d;hp=5de8360efdceb0054e5f5291efdeb9765b22debd;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/rts/StgPrimFloat.h b/rts/StgPrimFloat.h index 5de8360..cd5da46 100644 --- a/rts/StgPrimFloat.h +++ b/rts/StgPrimFloat.h @@ -9,13 +9,18 @@ #ifndef STGPRIMFLOAT_H #define STGPRIMFLOAT_H +#include "BeginPrivate.h" + /* grimy low-level support functions defined in StgPrimFloat.c */ -extern void __decodeDouble_2Int (I_ *man_sign, W_ *man_high, W_ *man_low, I_ *exp, StgDouble dbl); -extern void __decodeFloat_Int (I_ *man, I_ *exp, StgFloat flt); -extern StgDouble __2Int_encodeDouble (I_ j_high, I_ j_low, I_ e); -extern StgDouble __int_encodeDouble (I_ j, I_ e); -extern StgDouble __word_encodeDouble (W_ j, I_ e); -extern StgFloat __int_encodeFloat (I_ j, I_ e); -extern StgFloat __word_encodeFloat (W_ j, I_ e); +void __decodeDouble_2Int (I_ *man_sign, W_ *man_high, W_ *man_low, I_ *exp, StgDouble dbl); +void __decodeFloat_Int (I_ *man, I_ *exp, StgFloat flt); +StgDouble __2Int_encodeDouble (I_ j_high, I_ j_low, I_ e); +StgDouble __word_encodeDouble (W_ j, I_ e); +StgFloat __word_encodeFloat (W_ j, I_ e); + +// __int_encodeDouble and __int_encodeFloat are public, declared in +// includes/rts/PrimFloat.h. + +#include "EndPrivate.h" #endif /* STGPRIMFLOAT_H */