// cl_I_to_DF().
// General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
// Specification.
-#include "cl_DF.h"
+#include "float/dfloat/cl_DF.h"
// Implementation.
#include "cln/integer.h"
-#include "cl_I.h"
-#include "cl_DS.h"
-#include "cl_F.h"
+#include "integer/cl_I.h"
+#include "base/digitseq/cl_DS.h"
+#include "float/cl_F.h"
namespace cln {
if (mant >= bit(DF_mant_len+1)) // rounding overflow?
{ mant = mant>>1; exp = exp+1; }
}
- return encode_DF(sign,(sintL)exp,mant);
+ return encode_DF(sign,(sintE)exp,mant);
#else
// Die NDS besteht aus msd, msdd, msddf und len weiteren Digits.
// Das höchste in 2^64*msd+2^32*msdd+msddf gesetzte Bit ist Bit Nummer
if (manthi >= bit(DF_mant_len-32+1)) // rounding overflow?
{ manthi = manthi>>1; exp = exp+1; }
} }
- return encode_DF(sign,(sintL)exp,manthi,mantlo);
+ return encode_DF(sign,(sintE)exp,manthi,mantlo);
#endif
}