Giter Club home page Giter Club logo

Comments (7)

zamicol avatar zamicol commented on June 24, 2024 1

Thanks for the help!

from baseconverter.

zamicol avatar zamicol commented on June 24, 2024

from baseconverter.

yaki3355 avatar yaki3355 commented on June 24, 2024

Thank you for your help! Looking forward to a pr.

-Zach
On Tue, Jun 28, 2022 at 10:23 AM yaki3355 @.> wrote: Hi, ignore my pr not working for 20202020202020202020202020202020 — Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH5SRPVK2AR5IKJMKS4EKLVRMRIZANCNFSM5Z6YDTWQ . You are receiving this because you authored the thread.Message ID: @.>

Hey @zamicol
#14 is waiting for merge

from baseconverter.

zamicol avatar zamicol commented on June 24, 2024

BigInt's still has a max size. On my browser that limit appears to be 1024 bits. I think we might need to use something like https://github.com/Yaffle/BigInteger for integers of arbitrary size.

There might be better ways to write it as well. One of the considerations was substitution of the input string into characters so that the main conversion algorithm could be employed. Since Javascript is UTF-16, that's enough space for dice of very many sides.

For now, 1024 is good enough! If we decided to revisit this in the future I wanted to keep some notes.

from baseconverter.

zamicol avatar zamicol commented on June 24, 2024

I'm reopening this issue because it appears to be broken?

https://convert.zamicol.com/#?inAlph=Hex&in=2BA34AED308AEA3427915F3E81887BC72CF5B5EA50AA89682052977C3773B925&outAlph=DND:20

Flip in and out, output is not the same.

from baseconverter.

zamicol avatar zamicol commented on June 24, 2024

Appears to be something with decimal: #?inAlph=0123456789&in=19737965684488488330219457478821781329850879392429569589875235152337186062336&outAlph=Hex

from baseconverter.

zamicol avatar zamicol commented on June 24, 2024

Fixed with latest push. 54b8503

https://convert.zamicol.com/#?inAlph=0123456789ABCDEF&outAlph=DND:16&in=FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

from baseconverter.

Related Issues (19)

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.