Re: modulo method for Rational class

2009-07-03 Thread Vinzent Steinberg
2009/7/3 Fabian Pedregosa fab...@fseoane.net Vinzent Steinberg wrote: 2009/7/2 Fredrik Johansson fredrik.johans...@gmail.com mailto:fredrik.johans...@gmail.com On Thu, Jul 2, 2009 at 11:48 AM, Vinzent Steinbergvinzent.steinb...@googlemail.com

Re: modulo method for Rational class

2009-07-03 Thread Fabian Pedregosa
Vinzent Steinberg wrote: 2009/7/3 Fabian Pedregosa fab...@fseoane.net mailto:fab...@fseoane.net Vinzent Steinberg wrote: 2009/7/2 Fredrik Johansson fredrik.johans...@gmail.com mailto:fredrik.johans...@gmail.com mailto:fredrik.johans...@gmail.com

Re: modulo method for Rational class

2009-07-03 Thread Vinzent Steinberg
2009/7/3 Fabian Pedregosa fab...@fseoane.net Fabian Pedregosa wrote: Vinzent Steinberg wrote: 2009/7/3 Fabian Pedregosa fab...@fseoane.net mailto: fab...@fseoane.net Vinzent Steinberg wrote: 2009/7/2 Fredrik Johansson fredrik.johans...@gmail.com

Re: modulo method for Rational class

2009-07-02 Thread Fredrik Johansson
On Thu, Jul 2, 2009 at 11:48 AM, Vinzent Steinbergvinzent.steinb...@googlemail.com wrote: It should use mpf_mod (like the __add__ and __mul__ methods); faster, and gets the precision right. Fredrik --~--~-~--~~~---~--~~ You received this message because you are

Re: modulo method for Rational class

2009-07-02 Thread Vinzent Steinberg
2009/7/2 Fredrik Johansson fredrik.johans...@gmail.com On Thu, Jul 2, 2009 at 11:48 AM, Vinzent Steinbergvinzent.steinb...@googlemail.com wrote: It should use mpf_mod (like the __add__ and __mul__ methods); faster, and gets the precision right. Fredrik