mirror of https://github.com/CGAL/cgal
rm use of Number_type_traits
This commit is contained in:
parent
ffdc45e0c4
commit
16731b4d2e
|
|
@ -30,25 +30,7 @@
|
|||
|
||||
#if USE_BIG_FLOAT
|
||||
|
||||
#include <CORE/BigFloat.h>
|
||||
|
||||
namespace CGAL
|
||||
{
|
||||
|
||||
template<> struct Number_type_traits<CORE::BigFloat>
|
||||
{
|
||||
typedef Tag_false Has_exact_ring_operations;
|
||||
typedef Tag_false Has_exact_division;
|
||||
typedef Tag_false Has_exact_sqrt;
|
||||
|
||||
typedef Tag_true Has_gcd;
|
||||
typedef Tag_true Has_division;
|
||||
typedef Tag_true Has_sqrt;
|
||||
};
|
||||
|
||||
CORE::BigFloat sqrt( CORE::BigFloat const& n ) { return CORE::sqrt(n); }
|
||||
|
||||
}
|
||||
#include <CGAL/CORE_BigFloat.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue