You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know the answer. One challenge is the different decimal and binary definitions of the prefixes (1000 vs 1024, etc). To do this properly, we should define the IEC prefixes kibi, mebi, gibi, etc. (see https://en.wikipedia.org/wiki/Kilobyte)
This seems like a lot of work, but we'd be happy to receive a pull request.
I don't really see the problem with the IEC prefixes. kB, MB... are the SI prefixes and follow the same rules as normal SI prefixes (multiples of 10).
Regarding the IEC prefixes (that already exist in prefixes.py, btw), it's just another list of UnitInformation to add.
Do I miss something?
Activity
apdavison commentedon Nov 2, 2017
I don't know the answer. One challenge is the different decimal and binary definitions of the prefixes (1000 vs 1024, etc). To do this properly, we should define the IEC prefixes kibi, mebi, gibi, etc. (see https://en.wikipedia.org/wiki/Kilobyte)
This seems like a lot of work, but we'd be happy to receive a pull request.
osechet commentedon Nov 2, 2017
I don't really see the problem with the IEC prefixes. kB, MB... are the SI prefixes and follow the same rules as normal SI prefixes (multiples of 10).
Regarding the IEC prefixes (that already exist in prefixes.py, btw), it's just another list of UnitInformation to add.
Do I miss something?
apdavison commentedon May 4, 2018
Implemented by #143