Costa Tsaousis 44955f720e fix incorrect use of isnormal() (#5677) 6 years ago
..
Makefile.am 8fbf817ef8 modularized all source code (#4391) 6 years ago
README.md 415f57c5bf Ga (#4938) 6 years ago
storage_number.c 36199f4498 incremental overflows should not show zeros values (#4538) 6 years ago
storage_number.h 44955f720e fix incorrect use of isnormal() (#5677) 6 years ago

README.md

netdata storage number

Although netdata does all its calculations using long double, it stores all values using a custom-made 32-bit number.

This custom-made number can store in 29 bits values from -167772150000000.0 to 167772150000000.0 with a precision of 0.00001 (yes, it's a floating point number, meaning that higher integer values have less decimal precision) and 3 bits for flags.

This provides an extremely optimized memory footprint with just 0.0001% max accuracy loss.

[analytics]()