bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.4.9: wrong results in signed division


From: Cesar Strauss
Subject: Re: 1.4.9: wrong results in signed division
Date: Wed, 25 Apr 2007 20:22:22 -0300
User-agent: Thunderbird 1.5.0.10 (X11/20070306)

Eric Blake wrote:
> Eric Blake <ebb9 <at> byu.net> writes:
> 
>> According to Cesar Strauss on 4/21/2007 5:30 PM:
>>> Hi,
>>>
>>> The eval macro in m4-1.4.9 gives wrong results in signed division:
>>>
>>> $ ./m4
>>> eval(-100/10)
>>> 429496719
>>> (expected: -10)
>> Indeed, this is a regression.  Thanks for the report.
>>
>>

Sure, I'm glad I could help.

> I'm checking in this, which also adds a regression test to 
> ensure it doesn't happen again, and porting the test changes to HEAD (which, 
> fortunately, did not have the bug).
> 

Works for me, thanks. All checks successful.

Regards,
Cesar





reply via email to

[Prev in Thread] Current Thread [Next in Thread]