]> www.ginac.de Git - cln.git/blobdiff - src/integer/conv/cl_I_from_UL2.cc
Avoid some "suggest explicit braces to avoid ambiguous ‘else’" warnings.
[cln.git] / src / integer / conv / cl_I_from_UL2.cc
index 0fa45bd478e185317cca2f65a86cf2d1bd7fd18c..3be44a1623c1838bc2db2ed2c733462db819e45d 100644 (file)
@@ -1,16 +1,19 @@
 // UL2_to_I() helper.
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
-#include "cl_I.h"
+#include "integer/cl_I.h"
 
 
 // Implementation.
 
 #include "cln/number.h"
-#include "cl_DS.h"
+
+#if (cl_word_size < 64)
+
+#include "base/digitseq/cl_DS.h"
 
 namespace cln {
 
@@ -21,7 +24,7 @@ cl_private_thing cl_I_constructor_from_UL2 (uint32 wert_hi, uint32 wert_lo)
           )
                return (cl_private_thing)(cl_combine(cl_FN_tag,wert_lo));
        // Bignum erzeugen:
-       // (dessen Länge  bn_minlength <= n <= ceiling((64+1)/intDsize)  erfüllt)
+       // (dessen Länge  bn_minlength <= n <= ceiling((64+1)/intDsize)  erfüllt)
        #define UL2_maxlength  ceiling(64+1,intDsize)
        #define FILL_1_DIGIT(l,i,from) \
                arrayLSref(ptr->data,l,i) = (uintD)from;
@@ -104,3 +107,5 @@ cl_private_thing cl_I_constructor_from_UL2 (uint32 wert_hi, uint32 wert_lo)
 }
 
 }  // namespace cln
+
+#endif