--- Mar 2/3/10, Raymond Lu ha scritto:
Marco,
You're probably right. It's a rounding issue.
What system and compiler
were you using? I'll need the output from the
configure and the
src/H5Tinit.c file from your build directory to look at
it. Thanks.Ray
attached.
$ gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
config.log (181 KB)
H5Tinit.c (39 KB)
···
on cygwin-1.7 > > Marco Atzeri wrote:
> I presume it is a rounding issue
>
>
-------------------------------------------------------
> Testing soft unsigned long long -> long double
conversions
*FAILED*
> elmt 126:
> src = ff
ff ff ff ff ff ff ff18446744073709551615
> dst = 00
00 40 3e ff ff ff ff ff ff ff
ff 18446744073709551615.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 127:
> src = ff
ff ff ff ff ff ff fe18446744073709551614
> dst = 00
00 40 3e ff ff ff ff ff ff ff
fe 18446744073709551614.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 128:
> src = ff
ff ff ff ff ff ff fc18446744073709551612
> dst = 00
00 40 3e ff ff ff ff ff ff ff
fc 18446744073709551612.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 129:
> src = ff
ff ff ff ff ff ff f818446744073709551608
> dst = 00
00 40 3e ff ff ff ff ff ff ff
f8 18446744073709551608.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 130:
> src = ff
ff ff ff ff ff ff f018446744073709551600
> dst = 00
00 40 3e ff ff ff ff ff ff ff
f0 18446744073709551600.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 131:
> src = ff
ff ff ff ff ff ff e018446744073709551584
> dst = 00
00 40 3e ff ff ff ff ff ff ff
e0 18446744073709551584.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 132:
> src = ff
ff ff ff ff ff ff c018446744073709551552
> dst = 00
00 40 3e ff ff ff ff ff ff ff
c0 18446744073709551552.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 133:
> src = ff
ff ff ff ff ff ff 8018446744073709551488
> dst = 00
00 40 3e ff ff ff ff ff ff ff
80 18446744073709551488.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 134:
> src = ff
ff ff ff ff ff ff 0018446744073709551360
> dst = 00
00 40 3e ff ff ff ff ff ff ff
00 18446744073709551360.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 135:
> src = ff
ff ff ff ff ff fe 0018446744073709551104
> dst = 00
00 40 3e ff ff ff ff ff ff fe
00 18446744073709551104.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> elmt 136:
> src = ff
ff ff ff ff ff fc 0018446744073709550592
> dst = 00
00 40 3e ff ff ff ff ff ff fc
00 18446744073709550592.000000
> ans = 00
00 40 3f 80 00 00 00 00 00 00
00 18446744073709551616.000000
> ***** 12 FAILURES! *****
> Command exited with non-zero status 1
> ----------------------------------------------------
>
> other platforms where this happen ?
>
> Regards
> Marco