-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into CORE-boost_mp_number-GF
- Loading branch information
Showing
219 changed files
with
7,879 additions
and
2,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
#include <CGAL/CORE_Expr.h> | ||
|
||
typedef CORE::Expr Real; | ||
|
||
int main() | ||
{ | ||
Real r(3.14); | ||
|
||
CGAL::is_zero(r); | ||
|
||
CGAL::is_one(r); | ||
|
||
r = CGAL::sqrt(r); | ||
|
||
|
||
CGAL::is_zero(r); | ||
|
||
CGAL::is_one(r); | ||
|
||
r = r * r; | ||
|
||
CGAL::is_zero(r); | ||
|
||
CGAL::is_one(r); | ||
|
||
r = r - r; | ||
|
||
CGAL::is_zero(r); | ||
|
||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Copyright (c) 2016 GeometryFactory SARL (France). | ||
// All rights reserved. | ||
// | ||
// This file is part of CGAL (www.cgal.org) | ||
// | ||
// $URL$ | ||
// $Id$ | ||
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial | ||
// | ||
// Author(s) : Andreas Fabri | ||
// | ||
// Warning: this file is generated, see include/CGAL/license/README.md | ||
|
||
#ifndef CGAL_LICENSE_POLYGON_REPAIR_H | ||
#define CGAL_LICENSE_POLYGON_REPAIR_H | ||
|
||
#include <CGAL/config.h> | ||
#include <CGAL/license.h> | ||
|
||
#ifdef CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE | ||
|
||
# if CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE | ||
|
||
# if defined(CGAL_LICENSE_WARNING) | ||
|
||
CGAL_pragma_warning("Your commercial license for CGAL does not cover " | ||
"this release of the 2D Polygon Repair package.") | ||
# endif | ||
|
||
# ifdef CGAL_LICENSE_ERROR | ||
# error "Your commercial license for CGAL does not cover this release \ | ||
of the 2D Polygon Repair package. \ | ||
You get this error, as you defined CGAL_LICENSE_ERROR." | ||
# endif // CGAL_LICENSE_ERROR | ||
# endif // CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE | ||
#else // no CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE | ||
# if defined(CGAL_LICENSE_WARNING) | ||
CGAL_pragma_warning("\nThe macro CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE is not defined." | ||
"\nYou use the CGAL 2D Polygon Repair package under " | ||
"the terms of the GPLv3+.") | ||
# endif // CGAL_LICENSE_WARNING | ||
# ifdef CGAL_LICENSE_ERROR | ||
# error "The macro CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE is not defined.\ | ||
You use the CGAL 2D Polygon Repair package under the terms of \ | ||
the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR." | ||
# endif // CGAL_LICENSE_ERROR | ||
#endif // no CGAL_POLYGON_REPAIR_COMMERCIAL_LICENSE | ||
#endif // CGAL_LICENSE_POLYGON_REPAIR_H |
Oops, something went wrong.