ponylang / rfcs

RFCs for changes to Pony
https://ponylang.io/
60 stars 48 forks source link

Implement BigDecimal and BigInteger #168

Open sblessing opened 6 years ago

sblessing commented 6 years ago

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 commented 6 years ago

Hi @sblessing,

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

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

igotfr commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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