[ROOT] CINT bug with large unsigned int ?

From: Patois Yannick (patois@ganil.fr)
Date: Sat Feb 24 2001 - 18:38:13 MET


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



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