RE:[a.naumann@worldnet.att.net: RE: [ROOT]

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Mon Mar 05 2001 - 03:09:51 MET


Hello Alex,

Thank you for reporting this problem. I'll fix this in cint5.14.79.
I am now in a business trip and unable to copy new version until
Mar8. Please wait for a while  and test the new version when it is
ready.

Masaharu Goto

>----- Forwarded message from Axel Naumann <a.naumann@worldnet.att.net> -----
>
>Reply-To: <axel@fnal.gov>
>From: "Axel Naumann" <a.naumann@worldnet.att.net>
>To: "ROOT mailing list" <roottalk@pcroot.cern.ch>
>Subject: RE: [ROOT] CINT bug with large unsigned int ?
>Date: Sat, 24 Feb 2001 13:03:39 -0600
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
>Importance: Normal
>
>Hi,
>
>root [17] UInt_t nb=4294967280
>root [18] nb=nb/2
>(unsigned int)4294967288
>
>Int_t(4294967280)==-16, Int_t(4294967288)==-8, so CInt does a 
>nb = UInt_t( Int_t(nb) /2 )...
>
>Cheers, Axel.
>
>> -----Original Message-----
>> From: owner-roottalk@pcroot.cern.ch
>> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Patois Yannick
>> Sent: Saturday, February 24, 2001 11:38 AM
>> To: ROOT mailing list
>> Subject: [ROOT] CINT bug with large unsigned int ?
>> 
>> 
>> Hi,
>> 
>> On my version of root (3.00.05, linux ix86, Mdk6.x) :
>> 
>> root [38] UInt_t nb=-1;
>> root [39] cout <<nb<<endl;
>> 4294967295
>> root [40] UInt_t nb2=nb/2;
>> root [41] cout <<nb2<<endl;
>> 0
>> 
>> It seems that some operations (here, a divisions) are not very well made
>> by CINT when the value is too large (over 2^31).
>> 
>> I didnt found any related point in the CINT limitations page.
>> 
>>      Yannick
>> 
>> 
>> 
>
>----- End forwarded message -----
>
>-- 
>Org:    CERN, European Laboratory for Particle Physics.
>Mail:   1211 Geneve 23, Switzerland
>E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
>WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET