mirror of https://github.com/CGAL/cgal
Fix a warning on Windows x64:
include\CGAL/GMP/Gmpfr_type.h(1013) : warning C4267: 'argument' : conversion from 'size_t' to 'CGAL::Gmpfr::Precision_type', possible loss of data
This commit is contained in:
parent
8d67e79814
commit
964f3a1767
|
|
@ -1010,7 +1010,7 @@ std::pair<Gmpz,long> Gmpfr::to_integer_exp()const{
|
|||
|
||||
CGAL_postcondition_code(if(e>=0))
|
||||
CGAL_postcondition(
|
||||
(*this)==(Gmpfr(z,z.bit_size())*CGAL::ipower(Gmpfr(2),e)));
|
||||
(*this)==(Gmpfr(z,(mpfr_prec_t)z.bit_size())*CGAL::ipower(Gmpfr(2),e)));
|
||||
CGAL_postcondition_code(else)
|
||||
CGAL_postcondition(((*this)*(Gmpz(1)<<(-e)))==z);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue