mirror of https://github.com/CGAL/cgal
Update CGAL_Core/include/CGAL/CORE/extLong_impl.h
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
parent
4a30611cdb
commit
7a0f3da89b
|
|
@ -180,9 +180,7 @@ extLong extLong::operator- () const {
|
||||||
// you cannot interpret the returned value!
|
// you cannot interpret the returned value!
|
||||||
CGAL_INLINE_FUNCTION
|
CGAL_INLINE_FUNCTION
|
||||||
int extLong::sign() const {
|
int extLong::sign() const {
|
||||||
if (flag == 2){
|
CGAL_CORE_warning_msg(flag != 2, "NaN Sign can not be determined!");
|
||||||
CGAL_CORE_warning_msg(false, "NaN Sign can not be determined!");
|
|
||||||
}
|
|
||||||
return ((val == 0) ? 0 : ((val > 0) ? 1 : -1));
|
return ((val == 0) ? 0 : ((val > 0) ? 1 : -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue