[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New TextRider & oo2c patch
> > Second: A buglet in LRealStr
> >
> > Converting 1E999 to LONGREAL does not result in an `outOfRange' error
> > (see module below).
> >
>
> The real problem was in the LRealConv module which was using a
> low-level routine to form the double real and was silently clamping
> the overflow to a valid value. I've added some checking now to
> LRealConv to catch these sorts of overflows. The updated module
> is attached.
Your new LRealConv.Mod breaks bootstrapping on my Linux box:
~/ooc$ backend/ansi-c/Test/run_bootstrap
[...]
- lib/LRealStr.Mod
In file lib/LRealStr.Mod:
1005: 6 Number out of range
13158: 6 Number out of range
Aborting
Please try again.
-- mva