Bill Allombert on Tue, 08 Nov 2016 21:33:59 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Issquare and rational Intmods


On Wed, Nov 09, 2016 at 07:01:25AM +1100, Kevin Acres wrote:
> I'm needing to perform an issquare(Mod(x,y),&s) where both x and y may
> be rational and the square root is returned in s. 
> 
> Any help on how to do this correctly would be gratefully received. 

You need to explain mathematicaly what you want: please write down the
equation 's' must satisfy.

Mod(x,y) is only defined when y is an integer (or a polynomial).

Cheers,
Bill.