using GMP's algorithms in other projects
tg at swox.com
Fri Aug 29 09:06:39 CEST 2008
"Kevin Sopp" <baraclese at googlemail.com> writes:
I'm working on a public domain c++ multi precision integer library.
I'm specifically interested in the subquadratic algorithm used to
convert strings to large integers. My question is, is it generally
allowed to use GMP's algorithms? While this is probably true for the
ones described in your documentation, is it true as well for the ones
that exist only in code?
If you write your code with the GMP code in the next window, I think
your code might rightfully be seen as derivate work of GMP.
But if you figure out some basic algorithm by reading the code, then
reimplement the algorithm without referring to GMP code, your work is
more likely to be independent.
For the radix conversion algorithms, I think the best approach might
be to read the description in the manual.
(Note however that this list is about GMP, and not the right forum for
discussing other bignum libraries.)
More information about the gmp-discuss