[PATCH] remove nested function hack_digit

Konstantin Serebryany konstantin.s.serebryany@gmail.com
Tue Sep 16 01:55:00 GMT 2014


Yep. I've realized that I've interpreted the test results incorrectly
(missed the failing tests).
The following patch passes tests.

On Mon, Sep 15, 2014 at 4:50 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Konstantin Serebryany <konstantin.s.serebryany@gmail.com> writes:
>
>> +  if (expsign != 0 && type == 'f' && exponent-- > 0)
>
>> +       fracsize = scalesize;
>
>> +         --fracsize;
>
>> +           fracsize = 1;
>
>> +     frac[fracsize++] = _cy;
>
> All these side effects won't work any more.
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnest-hack_digit.patch
Type: text/x-patch
Size: 3534 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140916/7fb0390b/attachment.bin>


More information about the Libc-alpha mailing list