Re: [PATCH] libgcc: Fix a bug in _BitInt -> dfp conversions

2024-02-10 Thread Richard Biener
> Am 10.02.2024 um 10:56 schrieb Jakub Jelinek : > > Hi! > > The ia32 _BitInt support revealed a bug in floatbitint?d.c. > As can be even guessed from how the code is written in the loop, > the intention was to set inexact to non-zero whenever the remainder > after division wasn't zero, but I

[PATCH] libgcc: Fix a bug in _BitInt -> dfp conversions

2024-02-10 Thread Jakub Jelinek
Hi! The ia32 _BitInt support revealed a bug in floatbitint?d.c. As can be even guessed from how the code is written in the loop, the intention was to set inexact to non-zero whenever the remainder after division wasn't zero, but I've ended up just checking whether the 2 least significant limbs of