mirror of https://github.com/CGAL/cgal
adding operators <= > >= for Micro$oft and kcc
This commit is contained in:
parent
a917699d0c
commit
be33ceea7b
|
|
@ -149,13 +149,22 @@ inline Fixed_precision_nt operator/
|
|||
|
||||
inline bool operator<
|
||||
(Fixed_precision_nt a, Fixed_precision_nt b)
|
||||
{ return (a.to_double() < b.to_double() );}
|
||||
{ return (a.to_double() < b.to_double() );}
|
||||
inline bool operator<=
|
||||
(Fixed_precision_nt a, Fixed_precision_nt b)
|
||||
{ return (a.to_double() <= b.to_double() );}
|
||||
inline bool operator>
|
||||
(Fixed_precision_nt a, Fixed_precision_nt b)
|
||||
{ return (a.to_double() > b.to_double() );}
|
||||
inline bool operator>=
|
||||
(Fixed_precision_nt a, Fixed_precision_nt b)
|
||||
{ return (a.to_double() >= b.to_double() );}
|
||||
inline bool operator==
|
||||
(Fixed_precision_nt a, Fixed_precision_nt b)
|
||||
{ return (a.to_double() ==b.to_double() );}
|
||||
{ return (a.to_double() == b.to_double() );}
|
||||
inline bool operator!=
|
||||
(Fixed_precision_nt a, Fixed_precision_nt b)
|
||||
{ return (a.to_double() !=b.to_double() );}
|
||||
{ return (a.to_double() != b.to_double() );}
|
||||
|
||||
|
||||
std::ostream &operator<<(std::ostream &os, const Fixed_precision_nt& a)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ predicates.
|
|||
|
||||
Versions
|
||||
|
||||
2.15 (23 Jun 2000)
|
||||
adding operators <= > >= for Micro$oft and kcc
|
||||
|
||||
2.14 (17 May 2000)
|
||||
improved version, no longer .C file, + pb borland std:: in example
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.14 (17 May 2000)
|
||||
2.15 (23 Jun 2000)
|
||||
|
|
|
|||
Loading…
Reference in New Issue