On Wed, Jun 16, 2021 at 9:13 AM Konrad Hinsen
<konrad.hin...@fastmail.net> wrote:
>
> On 15/06/2021 16:05, Esteban Maringolo wrote:
> > And in this particular case, it might cause issues, since the "full
> > precision" (whatever that means) must be retained when using such a
> > number to derive another one.
>
> To me, "full precision" means "no precision is ever lost in arithmetic
> operations". If that's what you need, your choices are
>
> 1) Integers
>
> 2) Rational numbers (fractions)

> Pharo has 1) and 2).

Yeap, I'll switch to 2.

What I'm not totally convinced of is whether to store numbers as
integers (knowing beforehand the decimal precision, and converting it
to fractions when read back) or if to store them as scaled decimals
(which internally hold a fraction).

Thanks!

Reply via email to