Forum Discussion
Jeremy_Mann_141
Nimbostratus
I think the formula is bit shifted, not a power of 32, given the following result:
statistics[] =
(Common.Statistic){
type = "STATISTIC_CLIENT_SIDE_BYTES_IN"
value =
(Common.ULong64){
high = 97
low = 841866601
}
time_stamp = 0
},
(Common.Statistic){
type = "STATISTIC_CLIENT_SIDE_BYTES_OUT"
value =
(Common.ULong64){
high = 390
low = 2041437072
}
time_stamp = 0
},
The formula for the result would be
value = high << 32 + low
Giving value = (97 << 32) + 841,866,601 = 417,453,694,313
The alternative would yield (97^32) + 841866601 = 3773075507922571775273744352333525624409237957166570158701128042
Jason_Cohen_417
Oct 31, 2018Historic F5 Account
The correct formula should be to left shift the high value.