Posted by
Sven Van Caekenberghe-2 on
Nov 04, 2018; 10:38pm
URL: https://forum.world.st/ANN-The-STON-Specification-tp5088047p5088188.html
> On 4 Nov 2018, at 00:48, Shaping <
[hidden email]> wrote:
>
> Can STON be extended to handle Doubles and ArbitraryPrecisionFloats?
Being born from a language with a rich numerical hierarchy with fluent, mostly transparent conversions, Smalltalk, STON is deliberately a bit vague on precision and range. Integers, fractions and scaled decimals are infinite precision. Float are doubles, but could be higher precision/range: the number reader just does the calculations with the different parts, assuming some floating point number will come out. Each implementation can react based on its own limitations.