Max Alekseyev on Wed, 01 Dec 2010 03:42:55 +0100

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

Re: getting x,y values from Mod(x,y)

a.mod or component(a,1) will do the job.


On Tue, Nov 30, 2010 at 4:46 PM, Andrew P <> wrote:
> Just curious, if I have a variable of type Mod(x,y), how do I retrieve the
> values for x and y for use in other calculations? Thanks!
> Â Â-Andrew P-
> Edit: I figured out how to get the x value (if a = Mod(7,16), then lift(a)
> returns 7, or the value of x) but still don't know how to retrieve the y
> value.
> --
> View this message in context:
> Sent from the - pari-users mailing list archive at