[BUG][FIX] several bugs in number parsing

David T. Lewis lewis at mail.msen.com
Thu Nov 25 02:31:22 UTC 2004


These changes correct several problems with parsing of numbers from
strings and streams. The problems are demonstrated by NumberParsingTest
and ScaledDecimalTest (provided in separate change sets; the latter is
already included in the Squeak 3.9 image).

The original bug report was for the following problem, which is corrected
by this change set:
  '1.40s2' asNumber => 1.39s2

This change set replaces NumberReadFromFixes-dtl, which introduced a
serious bug that prevented recompilation of the system.

To illustrate the bugs, please also run ScaledDecimalTest, which has
already been included in the 3.9 update stream.

-Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: NumberParsingTest-dtl.cs.gz
Type: application/x-gunzip
Size: 1553 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041124/968fac3d/NumberParsingTest-dtl.cs.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NumberReadFromFixes-2-dtl.cs.gz
Type: application/x-gunzip
Size: 2010 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041124/968fac3d/NumberReadFromFixes-2-dtl.cs.bin


More information about the Squeak-dev mailing list