Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: SI prefixes notation #115

Open
IvanSanchez opened this issue Sep 23, 2020 · 1 comment
Open

Feature request: SI prefixes notation #115

IvanSanchez opened this issue Sep 23, 2020 · 1 comment

Comments

@IvanSanchez
Copy link
Contributor

I'd like to have notations using the prefixes from the international system of units, i.e.:

k M G T P E Z Y R Q B

Or their long forms:

Kilo Mega Giga Tera Peta Exa Zetta Yotta Ronna Quecca Bundecca

Note that I'm including the proposal for Ronna and Quecca, as well as the hypothetical Bundecca.

I guess that a nice approach would be to add this as a setting, and letting the abbreviate function use either the "standard" list (K M B T Qa Qt Sx Sp Oc No Dc, etc), the "short SI" list (k M G T P E Z Y R Q B) or the "long SI" list (Kilo Mega Giga Tera Peta Exa Zetta Yotta Ronna Quecca Bundecca). I don't see a need to add whole new notations, but rather change how the ones using the "standard" suffixes work.

There's also a proposal to extend the SI prefixes up to 10^48, which boils down to

k M G T P E Z Y kY MY GY TY PY EY ZY YY

Arguably this could be extended like...

k M G T P E Z Y R Q B kB MB GB TB PB EB ZB YB RB QB BB kBB MBB GBB TBB PBB EBB ZBB YBB RBB QBB BBB kBBB

...and later, add an exponent to the Bundeccas (to support those insane 1e9999999999 numbers), like

MB² = MBB
MB³ = MBBB
MB⁴ = MBBBB

@dan-simon
Copy link
Collaborator

Yeah, this seems good. I think either SI list with an exponent to the Bundeccas would be a good thing for abbreviate to be able to do, so 1e9999999999 would be 1 B³⁰³⁰³⁰³⁰³ or 1 Bundecca³⁰³⁰³⁰³⁰³, and 1e10000000008 would be 1 GB³⁰³⁰³⁰³⁰³ or 1 Gigabundecca³⁰³⁰³⁰³⁰³.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants