Hello,
I would recommend ModularBalanced<double> anyway ,
then use a level2 finit to convert to the centered representation.
there is no explicit init from int32, but there is one from int64.
So either conversion wil work smoothly, or one need to add one in
givaro/src/kernel/ring/modular-balanced-double.inl
inline ModularBalanced<double>::Element&
ModularBalanced<double>::init(Element& x, const int32_t y) const
Yours,
--
Jean-Guillaume Dumas.
____________________________________________________________________
Jean-Guill...@imag.fr Tél.: +33 476 514 866
Professeur, Université Grenoble Alpes. Fax.: +33 476 631 263
Laboratoire Jean Kuntzmann, Mathématiques Appliquées et Informatique
51, avenue des Mathématiques. LJK/IMAG - BP53. 38041 Grenoble FRANCE
http://ljk.imag.fr/membres/Jean-Guillaume.Dumas
____________________________________________________________________