Giter VIP home page Giter VIP logo

Comments (7)

earthernsence avatar earthernsence commented on July 30, 2024

either before or after cosmic, 'Galactic', after endless, 'Infinite', and after Infinite, 'Eternal'

from notations.

dan-simon avatar dan-simon commented on July 30, 2024

For reference, I think we need 5 new units to get up to 1e9e15.

from notations.

James103 avatar James103 commented on July 30, 2024

The exact current cutoff point is at 3.09066027102114015967e670266993468.

from notations.

dan-simon avatar dan-simon commented on July 30, 2024

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.

dan-simon avatar dan-simon commented on July 30, 2024

@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.

James103 avatar James103 commented on July 30, 2024

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.

dan-simon avatar dan-simon commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.