Dear ROOT developers and users,
I am using v5.10.00 on Linux.
I found TTreeFormula not complying with the C++ rule of operation.
Please take a look at the following example.
root [4] t->Draw("plD", "plU == 1001")
(Long64_t)7461
root [5] t->Draw("plD", "plU/10 == 100")
(Long64_t)0
root [6] t->Draw("plD", "plU/10 == 100.1")
(Long64_t)7461
Here “plU” is a Int_t type variable written in a tree named “t”.
Although both of the operands of the division are integer type,
the quotient seems to be calculated to be a float.
Is this a known issue?