| 1 | initial version |
Apparently, xP and xQ are coordinates of point on an elliptic curve over a finite field $\textrm{GF}(p)$. In this case they represent residues modulo $p$, and operation % is not defined for them. If one wants to treat them as integers, a conversion is needed: uu = int(xQ) % int(xP)
| 2 | No.2 Revision |
Apparently, xP and xQ are coordinates of point some points on an elliptic curve over a finite field $\textrm{GF}(p)$. In this case they represent residues modulo $p$, and operation % is not defined for them. If one wants to treat them as integers, a conversion is needed: uu = int(xQ) % int(xP)
| 3 | No.3 Revision |
Apparently, xP and xQ are coordinates of some points on an elliptic curve over a finite field $\textrm{GF}(p)$. In this case they represent residues modulo $p$, and operation % is not defined for them. If one wants to treat them as integers, a conversion lifting is needed: uu = int(xQ) lift(xQ) % int(xP)lift(xP)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.