bug-gnulib
[Top][All Lists]
Advanced

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

Re: ldexpl: Fix signed integer overflow


From: Bruno Haible
Subject: Re: ldexpl: Fix signed integer overflow
Date: Mon, 21 Aug 2023 03:23:09 +0200

Paul Eggert wrote:
> It's easy enough to remove that assumption, and this makes the code a 
> bit simpler, and not significantly less efficient since GCC implements N 
> % 2 and N / 2 by masking and shifting. I installed the attached.

... and this code is used only as a fallback on few platforms anyway.
Thanks.

Bruno






reply via email to

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