On 2017-12-13 09:37:25 -0500, Robert Haas wrote:
> On Wed, Dec 13, 2017 at 5:10 AM, Christoph Berg <m...@debian.org> wrote:
> > Re: Andres Freund 2017-12-13 <e1eovqf-00075r...@gemulon.postgresql.org>
> >> Provide overflow safe integer math inline functions.
> >
> > The new _overflow functions have buggy comments:
> >
> > /*
> >  * If a - b overflows, return true, otherwise store the result of a + b into
> >  * *result.                                                         ^ there
> 
> What's wrong with that?

After staring at it for a while, I seem to have partially mis-copied the
note for addition to the subtraction operation...

Greetings,

Andres Freund

Reply via email to