Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Aldy Hernandez via Gcc-patches
On Fri, Aug 26, 2022 at 6:34 PM Jeff Law wrote: > > > > On 8/26/2022 10:24 AM, Aldy Hernandez wrote: > > On Fri, Aug 26, 2022 at 6:08 PM Jeff Law via Gcc-patches > > wrote: > >> > >> > >> On 8/23/2022 4:33 AM, Aldy Hernandez via Gcc-patches wrote: > >>> For the frange implementation with endpoint

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Jeff Law via Gcc-patches
On 8/26/2022 10:25 AM, Aldy Hernandez wrote: On Fri, Aug 26, 2022 at 6:09 PM Jeff Law via Gcc-patches wrote: On 8/26/2022 9:43 AM, Aldy Hernandez via Gcc-patches wrote: Another real.* tweak. This time, adding a real_iszero() entry point to match the real_isnegzero. I could combine this

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Jeff Law via Gcc-patches
On 8/26/2022 10:24 AM, Aldy Hernandez wrote: On Fri, Aug 26, 2022 at 6:08 PM Jeff Law via Gcc-patches wrote: On 8/23/2022 4:33 AM, Aldy Hernandez via Gcc-patches wrote: For the frange implementation with endpoints I'm about to contribute, we need to set REAL_VALUE_TYPEs with negative infi

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Aldy Hernandez via Gcc-patches
On Fri, Aug 26, 2022 at 6:09 PM Jeff Law via Gcc-patches wrote: > > > > On 8/26/2022 9:43 AM, Aldy Hernandez via Gcc-patches wrote: > > Another real.* tweak. This time, adding a real_iszero() entry point > > to match the real_isnegzero. I could combine this patch with the > > negative infinity o

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Aldy Hernandez via Gcc-patches
On Fri, Aug 26, 2022 at 6:08 PM Jeff Law via Gcc-patches wrote: > > > > On 8/23/2022 4:33 AM, Aldy Hernandez via Gcc-patches wrote: > > For the frange implementation with endpoints I'm about to contribute, > > we need to set REAL_VALUE_TYPEs with negative infinity. The support > > is already ther

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Jeff Law via Gcc-patches
On 8/26/2022 9:43 AM, Aldy Hernandez via Gcc-patches wrote: Another real.* tweak. This time, adding a real_iszero() entry point to match the real_isnegzero. I could combine this patch with the negative infinity one in this thread if y'all would prefer. OK pending tests? p.s. I'd really lik

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Jeff Law via Gcc-patches
On 8/23/2022 4:33 AM, Aldy Hernandez via Gcc-patches wrote: For the frange implementation with endpoints I'm about to contribute, we need to set REAL_VALUE_TYPEs with negative infinity. The support is already there in real.cc, but it is awkward to get at. One could call real_inf() and then n

Re: [PATCH] Add set/get functions for negative infinity in real.*

2022-08-26 Thread Aldy Hernandez via Gcc-patches
Another real.* tweak. This time, adding a real_iszero() entry point to match the real_isnegzero. I could combine this patch with the negative infinity one in this thread if y'all would prefer. OK pending tests? p.s. I'd really like to go and benchmark all this real.* stuff (later), because I th