Re: [mpir-devel] comparison between mpz and mpq

2015-08-14 Thread Fredrik Johansson
On Fri, Aug 14, 2015 at 6:08 PM, <20100.delecr...@gmail.com> wrote: > > Pull request for a new function mpq_cmp_mpz at > https://github.com/wbhart/mpir/pull/157 > > It is essentially a copy/paste of mpq_cmp with a lot of simplification since > one denominator is just one. A minor suggestion

Re: [mpir-devel] comparison between mpz and mpq

2015-08-14 Thread 'Bill Hart' via mpir-devel
I appreciate the gesture, but it's better to contribute this to the official GMP project. The reason is that it is in their namespace. If they add a similar function later, it may end up with a different name, or worse still, same name, different semantics! If you contribute it to GMP and it becom

Re: [mpir-devel] comparison between mpz and mpq

2015-08-14 Thread 20100 . delecroix
Le vendredi 31 juillet 2015 10:16:10 UTC+2, Bill Hart a écrit : > > > > On 30 July 2015 at 22:10, <20100.d...@gmail.com > wrote: > >> Thanks for the answer! (and sorry for my very late reply) >> >> Le dimanche 3 mai 2015 18:54:43 UTC+2, Bill Hart a écrit : >>> >>> >>> >>> On 3 May 2015 at 12:51, <