Daily Commit Log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Daily Commit Log

commits-2
Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006901.html

Name: Kernel-nice.831
Ancestors: Kernel-nice.830

1) Fix awfull bug in NumberParser when reading a number with fraction part
(the trailing digits of the fraction might be skipped when there's many of them because of incorrect update of lastNonZero position)

This made this test fail:
self assert: (Float readFrom: (((1<&lt;1075) reciprocal + (1&lt;&lt;1400) reciprocal) printShowingDecimalPlaces: 2000)) = Float fmin.

I just wanted to check NumberParser w.r.t. a former bug of dtoa, but it failed for different reasons http://www.exploringbinary.com/gays-strtod-returns-zero-for-inputs-just-above-2-1075/

2) Classify some as yet unclassified (or miss-classified)

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006902.html

Name: KernelTests-nice.259
Ancestors: KernelTests-fbs.258

Add a non regression test for recently discovered NumberParser error (truncating the last digits due to incorrect position of last non zero digit).

=============================================

Reply | Threaded
Open this post in threaded view
|

Re: Daily Commit Log

Frank Shearar-3
On 14 January 2014 23:55,  <[hidden email]> wrote:

> Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:
>
> http://lists.squeakfoundation.org/pipermail/packages/2014-January/006901.html
>
> Name: Kernel-nice.831
> Ancestors: Kernel-nice.830
>
> 1) Fix awfull bug in NumberParser when reading a number with fraction part
> (the trailing digits of the fraction might be skipped when there's many of them because of incorrect update of lastNonZero position)
>
> This made this test fail:
> self assert: (Float readFrom: (((1<&lt;1075) reciprocal + (1&lt;&lt;1400) reciprocal) printShowingDecimalPlaces: 2000)) = Float fmin.

Something is a bit keen to HTML-escape plain text... this line got
mangled. (The source of the line shows the correct < characters.)

frank