## Forum Discussion

Jeremy_Mann_141

Sep 25, 2014Nimbostratus

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

- Jeff_d_Ambly_24Jan 26, 2016Nimbostratusso what is appropriate formula? should this be bit shifted?
- Jason_Cohen_417Oct 31, 2018Historic F5 Account
The correct formula should be to left shift the high value.