help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Testsuite failures on Debian PowerPC


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Testsuite failures on Debian PowerPC
Date: Fri, 10 Jun 2011 08:37:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/09/2011 10:53 PM, Marc Hanisch wrote:
today I tried installing GNU Smalltalk 3.2.4 on a Debian PowerPC machine.
Some of the tests failed and I can't figure out why.

I've attached two files: the output of the testsuite and the testsuite.log.

I would be really glad if someone can give me a hint:-)

Please try executing this from the REPL and cut/paste the output:

a := 1 sinh
b := (a squared + 1) sqrt.
c := (a * a + 1) sqrt.
d := 1 cosh.
e := 1 exp.
f := -1 exp.
g := (e + f) / 2.
h := (e - f) / 2.
i := FloatD emin - FloatD precision - 1.
j := 1.0d timesTwoPower: i.
j examine


Here is the output I get on an x86 machine by the way:

st> a := 1 sinh
1.1752011936438014
st> b := (a squared + 1) sqrt.
1.5430806348152437
st> c := (a * a + 1) sqrt.
1.5430806348152437
st> d := 1 cosh.
1.5430806348152437
st> e := 1 exp.
2.718281828459045
st> f := -1 exp.
0.36787944117144233
st> g := (e + f) / 2.
1.5430806348152437
st> h := (e - f) / 2.
1.1752011936438014
st> i := FloatD emin - FloatD precision - 1.
-1075
st> j := 1.0d timesTwoPower: i.
0.0
st> j examine
An instance of FloatD
  [1]: 0
  [2]: 0
  [3]: 0
  [4]: 0
  [5]: 0
  [6]: 0
  [7]: 0
  [8]: 0
0.0

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]