Re: [PATCH] Add a simple fraction class

2021-08-03 Thread Richard Biener via Gcc-patches
On Tue, Aug 3, 2021 at 1:58 PM Richard Sandiford wrote: > > Richard Biener writes: > > On Mon, Aug 2, 2021 at 1:31 PM Richard Sandiford > > wrote: > >> > >> Richard Biener writes: > >> > On Mon, Aug 2, 2021 at 12:43 PM Richard Sandiford > >> > wrote: > >> >> > >> >> Richard Biener via Gcc-patc

Re: [PATCH] Add a simple fraction class

2021-08-03 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Mon, Aug 2, 2021 at 1:31 PM Richard Sandiford > wrote: >> >> Richard Biener writes: >> > On Mon, Aug 2, 2021 at 12:43 PM Richard Sandiford >> > wrote: >> >> >> >> Richard Biener via Gcc-patches writes: >> >> > On Fri, Jul 30, 2021 at 5:59 PM Richard Sandiford via Gc

Re: [PATCH] Add a simple fraction class

2021-08-02 Thread Richard Biener via Gcc-patches
On Mon, Aug 2, 2021 at 1:31 PM Richard Sandiford wrote: > > Richard Biener writes: > > On Mon, Aug 2, 2021 at 12:43 PM Richard Sandiford > > wrote: > >> > >> Richard Biener via Gcc-patches writes: > >> > On Fri, Jul 30, 2021 at 5:59 PM Richard Sandiford via Gcc-patches > >> > wrote: > >> >> >

Re: [PATCH] Add a simple fraction class

2021-08-02 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Mon, Aug 2, 2021 at 12:43 PM Richard Sandiford > wrote: >> >> Richard Biener via Gcc-patches writes: >> > On Fri, Jul 30, 2021 at 5:59 PM Richard Sandiford via Gcc-patches >> > wrote: >> >> >> >> This patch adds a simple class for holding A/B fractions. >> >> As the

Re: [PATCH] Add a simple fraction class

2021-08-02 Thread Richard Biener via Gcc-patches
On Mon, Aug 2, 2021 at 12:43 PM Richard Sandiford wrote: > > Richard Biener via Gcc-patches writes: > > On Fri, Jul 30, 2021 at 5:59 PM Richard Sandiford via Gcc-patches > > wrote: > >> > >> This patch adds a simple class for holding A/B fractions. > >> As the comments in the patch say, the clas

Re: [PATCH] Add a simple fraction class

2021-08-02 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > On Fri, Jul 30, 2021 at 5:59 PM Richard Sandiford via Gcc-patches > wrote: >> >> This patch adds a simple class for holding A/B fractions. >> As the comments in the patch say, the class isn't designed >> to have nice numerial properties at the extremes. >>

Re: [PATCH] Add a simple fraction class

2021-08-02 Thread Richard Biener via Gcc-patches
On Fri, Jul 30, 2021 at 5:59 PM Richard Sandiford via Gcc-patches wrote: > > This patch adds a simple class for holding A/B fractions. > As the comments in the patch say, the class isn't designed > to have nice numerial properties at the extremes. > > The motivating use case was some aarch64 costi