mirror of https://github.com/CGAL/cgal
warning in Gmpfr test
Changed Gmpfr::Precision_type -> size_t, the warning was about possible loss of data in conversion.
This commit is contained in:
parent
a73324b1e4
commit
1cd16fccb6
|
|
@ -220,7 +220,7 @@ int main(){
|
|||
ss>>z;
|
||||
_TEST("to_integer_exp e>0",(test_to_integer_exp(NT(std::make_pair(z,-50))));)
|
||||
z=CGAL::Gmpz(2147483647)*CGAL::Gmpz(2145338339);
|
||||
NT::Precision_type zsize=mpz_sizeinbase(z.mpz(),2);
|
||||
size_t zsize=mpz_sizeinbase(z.mpz(),2);
|
||||
_TEST("to_integer_exp e==0",(test_to_integer_exp(NT(z,zsize)));)
|
||||
_TEST("to_integer_exp e<0",(test_to_integer_exp(NT(std::make_pair(z,-97))));)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue