Maintain default behavior (for semantic versioning), but provide an option for people who want file sizes handled in base 10 instead of base 2. Would require a minor version bump.
Implemented correct handling of prefixes based on IEEE 1540
Added unit tests
Coverage increased (+0.03%) to 96.329% when pulling a54b07a on standage:master into 1021cac on xolox:master.
Merge #8: Allow correct behavior of 'parse_size' and 'format_size'
Proper support for IEEE 1541 definitions of units?
Refer to issue 4 and pull requests 8 and 9 on GitHub for details:
Release 2.0: Proper support for IEEE 1541 definitions of units? (fixes …
…#4, merges #8 and #9)
Hi Daniel and thanks for this pull request! I merged your changes but then decided to iterate further, switch the default to powers of ten and make improvements to the parsing code. More details available here.