]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/math.hpp
help.html: making search box have first tab index
[factor.git] / vm / math.hpp
index 6aab50a7b215dea891f64a4ed7e5c9e928ad6d6f..c0b6f7ed326049cd5a0cc570b291cc09f7980cf1 100644 (file)
@@ -3,7 +3,7 @@ namespace factor {
 static const fixnum fixnum_max =
     (((fixnum)1 << (WORD_SIZE - TAG_BITS - 1)) - 1);
 static const fixnum fixnum_min = (-((fixnum)1 << (WORD_SIZE - TAG_BITS - 1)));
-static const fixnum array_size_max = fixnum_max;
+static const fixnum array_size_max = ((cell)1 << (WORD_SIZE - TAG_BITS - 2));
 
 // Allocates memory
 inline cell factor_vm::from_signed_cell(fixnum x) {