master
md 12 lines 499 Bytes
Rendered Raw
1 # Netdata storage number
2
3 Although `netdata` does all its calculations using `long double`, it stores all values using
4 a **custom-made 32-bit number**.
5
6 This custom-made number can store in 29 bits values from `-167772150000000.0` to `167772150000000.0`
7 with a precision of 0.00001 (yes, it's a floating point number, meaning that higher integer values
8 have less decimal precision) and 3 bits for flags.
9
10 This provides an extremely optimized memory footprint with just 0.0001% max accuracy loss.
11
12