-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document all public items (#73)
* fix: swap values of `LN_KIB` & `LN_KB` * fix: invert SI/IEC conditions - Conditions that check whether the SI or IEC units must be used were inverted, i.e., when `si_prefix == true` it would use `"iB"` instead of `"B"`. - KB & kiB were used instead of kB & KiB. - Switches (true/false) in tests are also fixed. * fix: format with IEC (binary) by default * docs: doc units_* statics * refactor: move statics to consts * refactor: introduce format enum * test: use to_string_format in tests * chore: expand debug impl * fix: increase precision of LN_ constants * chore: remove to_string_as method * docs: document all public items * chore: remove useless B constant --------- Co-authored-by: Andrew Voynov <[email protected]>
- Loading branch information
1 parent
b8242ef
commit b4c6916
Showing
4 changed files
with
60 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters