Re: [v3] complex functions with expression template reals

2014-04-12 Thread Marc Glisse
On Sat, 12 Apr 2014, Eric Botcazou wrote: r209321 (for a patch accepted long ago, I guess it is better to leave a trace in gcc-patches near the commit date) Nope, see the doc, we have ChangeLog and gcc-cvs for this purpose. Those don't point to the conversation in gcc-patches where the patch

Re: [v3] complex functions with expression template reals

2014-04-12 Thread Eric Botcazou
> r209321 > (for a patch accepted long ago, I guess it is better to leave a trace in > gcc-patches near the commit date) Nope, see the doc, we have ChangeLog and gcc-cvs for this purpose. -- Eric Botcazou

Re: [v3] complex functions with expression template reals

2014-04-11 Thread Marc Glisse
On Wed, 26 Feb 2014, Paolo Carlini wrote: On 02/26/2014 10:57 AM, Jonathan Wakely wrote: On 24 February 2014 09:10, Paolo Carlini wrote: Another option would be just using boost/multiprecision/mpfr.hpp when available. In general, I think it makes sense to have a minimum of infrastructure enabl

Re: [v3] complex functions with expression template reals

2014-02-26 Thread Paolo Carlini
On 02/26/2014 10:57 AM, Jonathan Wakely wrote: On 24 February 2014 09:10, Paolo Carlini wrote: Another option would be just using boost/multiprecision/mpfr.hpp when available. In general, I think it makes sense to have a minimum of infrastructure enabling tests checking interoperability with boo

Re: [v3] complex functions with expression template reals

2014-02-26 Thread Jonathan Wakely
On 24 February 2014 09:10, Paolo Carlini wrote: > > Another option would be just using boost/multiprecision/mpfr.hpp when > available. In general, I think it makes sense to have a minimum of > infrastructure enabling tests checking interoperability with boost. If only > we had a check_v3_target_hea

Re: [v3] complex functions with expression template reals

2014-02-24 Thread Paolo Carlini
Hi, On 02/23/2014 04:11 PM, Marc Glisse wrote: On Sun, 23 Feb 2014, Paolo Carlini wrote: On 02/23/2014 11:32 AM, Marc Glisse wrote: Hello, looking at this question: http://stackoverflow.com/q/21737186/1918193 I was surprised to see that libstdc++'s std::complex basically just works with use

Re: [v3] complex functions with expression template reals

2014-02-23 Thread Marc Glisse
On Sun, 23 Feb 2014, Paolo Carlini wrote: On 02/23/2014 11:32 AM, Marc Glisse wrote: Hello, looking at this question: http://stackoverflow.com/q/21737186/1918193 I was surprised to see that libstdc++'s std::complex basically just works with user-defined types, even weird expression template o

Re: [v3] complex functions with expression template reals

2014-02-23 Thread Paolo Carlini
On 02/23/2014 11:32 AM, Marc Glisse wrote: Hello, looking at this question: http://stackoverflow.com/q/21737186/1918193 I was surprised to see that libstdc++'s std::complex basically just works with user-defined types, even weird expression template ones, although that's not a supported use af

[v3] complex functions with expression template reals

2014-02-23 Thread Marc Glisse
Hello, looking at this question: http://stackoverflow.com/q/21737186/1918193 I was surprised to see that libstdc++'s std::complex basically just works with user-defined types, even weird expression template ones, although that's not a supported use afaik. The only functions that fail seem to