You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tree] major and minor indices to long64, it was forgotten to change from 32bit of old interfaces (#14967)
Fixes https://its.cern.ch/jira/browse/ROOT-9028
[treeindex] print error when requesting out of bonds combination 31bit restriction was old, now they have separate 64-bit registers better document old2new
[roottest] adapt to new 64bit interface
[test] disable tests reaching the limits of ulong64_t
since the implicit conversion to long double later leads to platform-dependent test failures
[treeindex][nfc] mention that warning is printed at runtime when overflow detected
---------
Co-authored-by: Philippe Canal <[email protected]>
// Apple M1 has long double == double; these values exceed its range
9
9
// and cannot be represented as (even temporary) expression results.
10
10
// There would be a warning if you'd try.
11
-
static constexpr boolshortlongdouble=sizeof(long double) <16; // was true for __APPLE__ and __arm64__
12
-
constLong64_tbigval=shortlongdouble ? 0xFFFFFFFFFFFF : 0xFFFFFFFFFFFFFFF; // still positive number
13
-
constULong64_tbiguval=shortlongdouble ? 0xFFFFFFFFFFFF0 : 0xFFFFFFFFFFFFFFF0; // "negative" number
11
+
// More info: https://github.com/root-project/roottest/commit/f3c97809c9064feccaed3844007de9e7c6a5980d and https://github.com/root-project/roottest/commit/9e3843d4bf50bc34e6e15dfe7c027f029417d6c0
12
+
// static constexpr bool shortlongdouble = sizeof(long double) < 16; // was true for __APPLE__ and __arm64__
13
+
// const Long64_t bigval = shortlongdouble ? 0x0FFFFFFFFFFFF : 0x0FFFFFFFFFFFFFFF; // still positive number
0 commit comments