Remove explicit recursion in retainer profiling (fixes #14758)
[ghc.git] / rts / StgPrimFloat.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 1998-2009
4 *
5 * Primitive floating-point operations
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #pragma once
10
11 #include "BeginPrivate.h"
12
13 /* grimy low-level support functions defined in StgPrimFloat.c */
14 StgInt __decodeDouble_Int64 (StgInt64 *mantissa, StgDouble dbl);
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
18 // __{int,word}_encode{Float,Double} are public, declared in
19 // includes/rts/PrimFloat.h.
20
21 #include "EndPrivate.h"