Limits of Machine Independent Types

Hi,
ROOT proviedes machine independent types like Int_t, Long64_t, ULong64_t, Double32_t, … .
Does ROOT also provide limits for these types like provied by limits.h or float.h?
Writing something like

looks very odd to me, because in this case I have to speculate about the “native” type of Long64_t again.

Cheers, J.

Hi,

Yes this are the corresponding limits. For example kMaxULong64, kMaxLong64, kMinLong64 (and similar for Char, Short, Int, Long)

Cheers,
Philippe.