From 2bc3594a0fa73cfa2a53b6e0cb365653716f392d Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 20 Sep 2008 15:53:18 -0500 Subject: [PATCH 1/2] Default to 64-bit on 64-bit Intel Macs --- build-support/factor.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build-support/factor.sh b/build-support/factor.sh index 2d4547a121..5cbc1e96e3 100755 --- a/build-support/factor.sh +++ b/build-support/factor.sh @@ -216,9 +216,8 @@ intel_macosx_word_size() { $ECHO -n "Testing if your Intel Mac supports 64bit binaries..." sysctl machdep.cpu.extfeatures | grep EM64T >/dev/null if [[ $? -eq 0 ]] ; then - WORD=32 + WORD=64 $ECHO "yes!" - $ECHO "Defaulting to 32bit for now though..." else WORD=32 $ECHO "no." From e211260e4721378e622cedf5497e79b9b5135f0e Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 20 Sep 2008 18:52:39 -0500 Subject: [PATCH 2/2] Tweak unit test --- core/math/parser/parser-tests.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/math/parser/parser-tests.factor b/core/math/parser/parser-tests.factor index cee2314d07..aad87ca995 100755 --- a/core/math/parser/parser-tests.factor +++ b/core/math/parser/parser-tests.factor @@ -41,8 +41,8 @@ unit-test [ "-1.0e-2" string>number number>string ] unit-test -[ "-1.0e-12" ] -[ "-1.0e-12" string>number number>string ] +[ t ] +[ "-1.0e-12" string>number number>string { "-1.0e-12" "-1.0e-012" } member? ] unit-test [ f ]