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

Add support for bigdecimals #367

Open
Steffan153 opened this issue Mar 7, 2024 · 5 comments
Open

Add support for bigdecimals #367

Steffan153 opened this issue Mar 7, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Steffan153
Copy link
Contributor

Clojure has these (2M), Python (with a long import), and other langs we haven't added yet.

@Steffan153 Steffan153 added the enhancement New feature or request label Mar 7, 2024
@MichalMarsalek
Copy link
Collaborator

MichalMarsalek commented Mar 7, 2024

Uh, Polygolf only has integers so I'm a bit confused by what you'd use these for.

@Steffan153
Copy link
Contributor Author

Yet. It will have floats eventually, right? And bigdecimals are useful for constant holes. But I suppose we could do without them

@MichalMarsalek
Copy link
Collaborator

Me and Jared didn't plan to add them. How do you compile to languages that only have ints?

@Steffan153
Copy link
Contributor Author

Steffan153 commented Mar 8, 2024

It won't compile, just like languages without bigints won't compile when you use them.
Floats are quit a necessety IMO, as you need them for a lot of holes, and most langs have them.

@MichalMarsalek
Copy link
Collaborator

I kinda wanted to support bigint emulation but supporting float/decimal emulation seems like a while another league.

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

No branches or pull requests

2 participants