Hi Marco,

On Mar 2, 2010, at 10:02 AM, Marco Atzeri wrote:

> --- 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.
> 
> on cygwin-1.7 

        What compiler flags are you using?

                Quincey

>> 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 ff         
>>            
>> 18446744073709551615
>>>          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 fe         
>>            
>> 18446744073709551614
>>>          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 fc         
>>            
>> 18446744073709551612
>>>          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 f8         
>>            
>> 18446744073709551608
>>>          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 f0         
>>            
>> 18446744073709551600
>>>          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 e0         
>>            
>> 18446744073709551584
>>>          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 c0         
>>            
>> 18446744073709551552
>>>          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 80         
>>            
>> 18446744073709551488
>>>          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 00         
>>            
>> 18446744073709551360
>>>          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 00         
>>            
>> 18446744073709551104
>>>          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 00         
>>            
>> 18446744073709550592
>>>          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
> 
> 
> 
> <config.log><H5Tinit.c>_______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to