GMP library usage

Joerg Arndt arndt at
Wed Jun 27 14:32:28 CEST 2012

* Mehari Zeraberuk <mehzera75 at> [Jun 27. 2012 13:45]:
> [...]

> When I compare my results with sage's notebook result:
> 2P and 3P are the same in both. When I go forward they are not the same but
> the values exist in each other. Example,value of 4P in my program is the
> same as the value of 6P in sage. And the value of 6P in my program is the
> value 4P in sage. This relation exists
> in between [5P,7p], [9P,13P], [11P,15P] of my program and sage's output.
> [...]

Suggest to test that everything displayed are indeed points
on the curve.  Assume this is the case, then the program
missing any point is at error.

More information about the gmp-discuss mailing list