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

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to