Comments (7)
either before or after cosmic, 'Galactic', after endless, 'Infinite', and after Infinite, 'Eternal'
from notations.
For reference, I think we need 5 new units to get up to 1e9e15.
from notations.
The exact current cutoff point is at 3.09066027102114015967e670266993468
.
from notations.
This is now the last open issue, if someone can give me a list of five new units and where to put them I'll add them.
from notations.
@realrapidjazz @garnet420 Do either of you have any thoughts on this? Razen suggested fixing this issue but getting feedback first on which units to add and where (as stated above, we need five more). If for some reason it's private we can talk via Discord DMs or something, but it seems fine to do this in public for me.
We have far more than five options for new units so this is probably mostly just picking and choosing.
from notations.
Instead of continuously adding new units, I think it may be a better idea to just do something similar to one of the following examples:
- "You have 1.23e4 ghostly^2 unstable quarks." -> "12 eternal^2 cosmic minims"
- "You have 1.23e4 Mk3 infinity points." -> "12 Mk3 cosmic ounces"
- "You have 1.23e4 meta^4-eternity points." -> "12 meta^4-cosmic quarts"
This would easily extend Imperial notation to e1.8e308 and beyond.
from notations.
Firstly I should say that I like this idea (though I'm not sure which specific solution I like the most). However, the standard for notations in this library is that they go up to the limit of break_infinity.js (e9e15), which is the number library this notation library uses, and I think some notifications currently don't work beyond e9e15 and that's considered fine. So as a result, code that only runs for numbers greater than e9e15 is for practical purposes dead code. We could use a solution like the ones you suggest for the extra five units (after cosmic), but since in my opinion we have more than five good suggestions already that's sort of pointless.
At first sight, it seems plausible that it would be good for notations to work with break_eternity.js or other high number libraries too. But I think as of now break_eternity.js breaks some notations due to incompatibilities with break_infinity.js (and these incompatibilities would make it hard to make a notation that works with both), and I'm not sure there's an easy way to substitute break_eternity.js for break_infinity.js when loading notations anyway (my guess is no).
If I had infinite time then I'd probably want to make a version of this library that works with break_eternity.js with exactly the same notations (except for changes to make them work beyond e9e15), but I don't have infinite time so I probably won't make such a version (and I'm not sure if it's even a good idea; I'd probably want to ask various people before doing it).
from notations.
Related Issues (20)
- prime notation is wrong HOT 14
- Nonzero Decimals under Number.MIN_VALUE are treated as zero HOT 3
- Once we get community notations, create a different section for those compared to those in game. HOT 3
- Wrong notation output HOT 1
- Number can get -ee308 but can't get ee308 HOT 1
- Hex notation rounds numbers when it shouldn't
- When adding more e's it cycles
- Unit testing? HOT 1
- github.io page is broken
- Add option to remove space from Standard and Mixed Scientific
- Feature request: SI prefixes notation HOT 1
- fixMantissaOverflow should not round up HOT 1
- Feature Request: Declaration File HOT 1
- Add thorough testing for all non-community notations
- Uncaught TypeError: Cannot read properties of undefined (reading '__extends') @2.0.1 HOT 2
- Better handling of other bases HOT 4
- Scientific notation formatting issue
- TypeError: t.indexOf is not a function when using node.js HOT 1
- Dependabot script broke HOT 1
- I don't even know what to say HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notations.