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

Implement BigDecimal and BigInteger #168

Open
sblessing opened this issue Apr 30, 2018 · 4 comments
Open

Implement BigDecimal and BigInteger #168

sblessing opened this issue Apr 30, 2018 · 4 comments

Comments

@sblessing
Copy link

Extend the standard library with BigDecimal and BigInteger. I have started to working on this, and I would like to submit this as a pull request soon.

@SeanTAllen
Copy link
Member

Hi @sblessing,

We have an RFC process for additions and changes to the language and standard library.

see https://github.com/ponylang/rfcs/

@SeanTAllen SeanTAllen transferred this issue from ponylang/ponyc May 12, 2020
@igotfr
Copy link

igotfr commented Jun 5, 2021

Extend the standard library with BigDecimal and BigInteger. I have started to working on this, and I would like to submit this as a pull request soon.

BIgDecimal is basically F128 and BigInteger U128 and I128
I prefer F128, U128, I128

@ergl
Copy link
Member

ergl commented Jun 5, 2021

@cindRoberta BigInteger and BigDecimal are arbitrary precision integers, so they can be as big as you want as long as you have the memory to spare.

@igotfr
Copy link

igotfr commented Jun 5, 2021

@cindRoberta BigInteger and BigDecimal are arbitrary precision integers, so they can be as big as you want as long as you have the memory to spare.

@ergl it looks the arbitrary bit-width integers from Zig: https://ziglang.org/documentation/0.8.0/#Primitive-Types

it's a good proposal, but no with the names BigDecimal and BigInteger

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

4 participants