This is my draft for fixing #28; it only handles NTL_BITS_PER_LONGLONG == NTL_BITS_PER_LONG for now. There are a couple of undone things and some questions from me:
For the computation of bpll, should I use a loop like the other types are using?
doc/conversions.txt is not yet updated
There is not yet an implementation for the case NTL_BITS_PER_LONGLONG == (2*NTL_BITS_PER_LONG). For this case, my idea is that we add some functions to lip.cpp that use NTL_ULL_TYPE and potentially a new signed NTL_LL_TYPE. Is that acceptable (or needed in the first place)?
*
Alright, I tried my hand at lip. It's not pretty.
This is my draft for fixing #28; it only handles
NTL_BITS_PER_LONGLONG == NTL_BITS_PER_LONG
for now. There are a couple of undone things and some questions from me:For the computation of
bpll
, should I use a loop like the other types are using?doc/conversions.txt
is not yet updatedThere is not yet an implementation for the case
NTL_BITS_PER_LONGLONG == (2*NTL_BITS_PER_LONG)
. For this case, my idea is that we add some functions tolip.cpp
that useNTL_ULL_TYPE
and potentially a new signedNTL_LL_TYPE
. Is that acceptable (or needed in the first place)?lip
. It's not pretty.