[M3devel] [modula3/cm3] f7036f: Fixed overflow bug

Rodney M. Bates rodney_bates at lcwb.coop
Sun Nov 20 02:52:26 CET 2016



On 11/16/2016 05:05 PM, GitHub wrote:
>    Branch: refs/heads/master
>    Home:   https://github.com/modula3/cm3
>    Commit: f7036fd9cb25680d85c31967b7f772c151469043
>        https://github.com/modula3/cm3/commit/f7036fd9cb25680d85c31967b7f772c151469043
>    Author: peter mckinna <peter mckinna at gmail.com>
>    Date:   2016-11-17 (Thu, 17 Nov 2016)
>
>    Changed paths:
>      M m3-libs/m3core/src/float/Common/grisu/Grisu.m3
>
>    Log Message:
>    -----------
>    Fixed overflow bug
>
>
>    Commit: ea3e1978b6fa08e12e2fbbce7184389d061b585a
>        https://github.com/modula3/cm3/commit/ea3e1978b6fa08e12e2fbbce7184389d061b585a
>    Author: peter mckinna <peter mckinna at gmail.com>
>    Date:   2016-11-17 (Thu, 17 Nov 2016)
>
>    Changed paths:
>      M m3-libs/m3core/src/float/Common/DragonInt.m3
>
>    Log Message:
>    -----------
>    Allocation should be minimum 4 words for 128 bit quads
>

     (* assume the allocator zeros this array, min size 128 bytes for quads *)
  ----------------------------------------------------------^ bits?
     out := NEW(RefInt32,MAX(a.s, 4));





>
>    Commit: e4b419ae09d819675265f41fc9c354ee645c2c94
>        https://github.com/modula3/cm3/commit/e4b419ae09d819675265f41fc9c354ee645c2c94
>    Author: peter mckinna <peter mckinna at gmail.com>
>    Date:   2016-11-17 (Thu, 17 Nov 2016)
>
>    Changed paths:
>      A m3-libs/m3core/src/float/Common/FloatUtils.i3
>      A m3-libs/m3core/src/float/Common/FloatUtils.m3
>      A m3-libs/m3core/src/float/Common/TextToFloat.i3
>      A m3-libs/m3core/src/float/Common/TextToFloat.m3
>      M m3-libs/m3core/src/float/Common/m3makefile
>
>    Log Message:
>    -----------
>    Added floating point conversion functions for 128 quads
>
>
> Compare: https://github.com/modula3/cm3/compare/be8184edff3c...e4b419ae09d8
>

-- 
Rodney Bates
rodney.m.bates at acm.org


More information about the M3devel mailing list