> On 16 Jun 2021, at 16:20, Konrad Hinsen <konrad.hin...@fastmail.net> wrote:
> 
> On 16/06/2021 15:52, Sven Van Caekenberghe wrote:
>> I am also a bit intrigued by this. Like you said: several other programming 
>> languages (I tried a couple of Common Lisp and Scheme implementations) do 
>> the same as Pharo, but handheld calculators, normal and scientific, do not.
> 
> Handheld calculators use decimal floats, not binary floats. That doesn't 
> remove rounding issues, but it makes conversion to and from print 
> representations loss-free.
> 
> 
> Konrad
> 

mmm, this is interesting.

It would be possible (and maybe it has already been done) to implement/add such 
a decimal floating point number to Pharo. It would require reimplementing all 
operations from scratch (esp. sin/cos/tan log/exp and so on), it would be slow, 
but interesting.


Reply via email to