mirror of https://github.com/CGAL/cgal
256 -> 512 and no need for std::move()
This commit is contained in:
parent
47bfc83cba
commit
1d5f57ebb7
|
|
@ -64,7 +64,7 @@ class cpp_float {
|
||||||
boost::multiprecision::cpp_rational rat;
|
boost::multiprecision::cpp_rational rat;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef boost::multiprecision::number<boost::multiprecision::cpp_int_backend<256> > Mantissa;
|
typedef boost::multiprecision::number<boost::multiprecision::cpp_int_backend<512> > Mantissa;
|
||||||
Mantissa man;
|
Mantissa man;
|
||||||
int exp; /* The number man (an integer) * 2 ^ exp */
|
int exp; /* The number man (an integer) * 2 ^ exp */
|
||||||
|
|
||||||
|
|
@ -169,7 +169,7 @@ public:
|
||||||
}
|
}
|
||||||
// std::cout << "m = " << m << " * 2^" << exp << std::endl;
|
// std::cout << "m = " << m << " * 2^" << exp << std::endl;
|
||||||
// fmt(m);
|
// fmt(m);
|
||||||
man = std::move(m);
|
man = m;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend std::ostream& operator<<(std::ostream& os, const cpp_float& m)
|
friend std::ostream& operator<<(std::ostream& os, const cpp_float& m)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue