#include "cl_sysdep.h"
// Specification.
-#include "cl_lfloat.h"
+#include "cln/lfloat.h"
// Implementation.
#include "cl_I.h"
#include "cl_DS.h"
+namespace cln {
+
MAYBE_INLINE
const cl_idecoded_float integer_decode_float (const cl_LF& x)
{
// x entpacken:
- var uintL uexp = TheLfloat(x)->expo;
+ var uintE uexp = TheLfloat(x)->expo;
if (uexp == 0)
{ return cl_idecoded_float(0, 0, 1); }
var cl_signean sign = TheLfloat(x)->sign;
// Mantisse
mant,
// e-intDsize*n = uexp-LF_exp_mid-intDsize*n als Integer
- minus(uexp, LF_exp_mid + intDsize*(uintL)len),
+ minus(uexp, LF_exp_mid + intDsize*len),
(sign>=0 ? cl_I(1) : cl_I(-1)) // (-1)^s erzeugen
);
}
+
+} // namespace cln