-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from darioizzo/mp
Introducing multiple precision differential algebra
- Loading branch information
Showing
42 changed files
with
2,271 additions
and
874 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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# http://websvn.kde.org/trunk/KDE/kdeutils/cmake/modules/FindGMP.cmake?view=markup&pathrev=675218 | ||
|
||
# Copyright (c) 2006, Laurent Montel, <[email protected]> | ||
# Copyright (c) 2008-2011 Francesco Biscani, <[email protected]> | ||
# Copyright (c) 2008-2018 Francesco Biscani, <[email protected]> | ||
|
||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
|
@@ -13,7 +13,7 @@ | |
# 2. Redistributions in binary form must reproduce the copyright | ||
# notice, this list of conditions and the following disclaimer in the | ||
# documentation and/or other materials provided with the distribution. | ||
# 3. The name of the author may not be used to endorse or promote products | ||
# 3. The name of the author may not be used to endorse or promote products | ||
# derived from this software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
|
@@ -28,16 +28,23 @@ | |
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# ------------------------------------------------------------------------------------------ | ||
|
||
IF(GMP_INCLUDE_DIR AND GMP_LIBRARIES) | ||
# Already in cache, be silent | ||
SET(GMP_FIND_QUIETLY TRUE) | ||
ENDIF(GMP_INCLUDE_DIR AND GMP_LIBRARIES) | ||
if(GMP_INCLUDE_DIR AND GMP_LIBRARY) | ||
# Already in cache, be silent | ||
set(GMP_FIND_QUIETLY TRUE) | ||
endif() | ||
|
||
FIND_PATH(GMP_INCLUDE_DIR NAMES gmp.h) | ||
FIND_LIBRARY(GMP_LIBRARIES NAMES gmp) | ||
find_path(GMP_INCLUDE_DIR NAMES gmp.h) | ||
find_library(GMP_LIBRARY NAMES gmp) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
include(FindPackageHandleStandardArgs) | ||
|
||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES) | ||
find_package_handle_standard_args(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARY) | ||
|
||
MARK_AS_ADVANCED(GMP_INCLUDE_DIR GMP_LIBRARIES) | ||
mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARY) | ||
|
||
# NOTE: this has been adapted from CMake's FindPNG.cmake. | ||
if(GMP_FOUND AND NOT TARGET GMP::GMP) | ||
add_library(GMP::GMP UNKNOWN IMPORTED) | ||
set_target_properties(GMP::GMP PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${GMP_INCLUDE_DIR}" | ||
IMPORTED_LINK_INTERFACE_LANGUAGES "C" IMPORTED_LOCATION "${GMP_LIBRARY}") | ||
endif() |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# http://websvn.kde.org/trunk/KDE/kdeutils/cmake/modules/FindGMP.cmake?view=markup&pathrev=675218 | ||
|
||
# Copyright (c) 2006, Laurent Montel, <[email protected]> | ||
# Copyright (c) 2008-2011 Francesco Biscani, <[email protected]> | ||
# Copyright (c) 2008-2018 Francesco Biscani, <[email protected]> | ||
|
||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
|
@@ -13,7 +13,7 @@ | |
# 2. Redistributions in binary form must reproduce the copyright | ||
# notice, this list of conditions and the following disclaimer in the | ||
# documentation and/or other materials provided with the distribution. | ||
# 3. The name of the author may not be used to endorse or promote products | ||
# 3. The name of the author may not be used to endorse or promote products | ||
# derived from this software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
|
@@ -28,16 +28,23 @@ | |
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# ------------------------------------------------------------------------------------------ | ||
|
||
IF(MPFR_INCLUDE_DIR AND MPFR_LIBRARIES) | ||
# Already in cache, be silent | ||
SET(MPFR_FIND_QUIETLY TRUE) | ||
ENDIF(MPFR_INCLUDE_DIR AND MPFR_LIBRARIES) | ||
if(MPFR_INCLUDE_DIR AND MPFR_LIBRARY) | ||
# Already in cache, be silent | ||
set(MPFR_FIND_QUIETLY TRUE) | ||
endif() | ||
|
||
FIND_PATH(MPFR_INCLUDE_DIR NAMES mpfr.h) | ||
FIND_LIBRARY(MPFR_LIBRARIES NAMES mpfr) | ||
find_path(MPFR_INCLUDE_DIR NAMES mpfr.h) | ||
find_library(MPFR_LIBRARY NAMES mpfr) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
include(FindPackageHandleStandardArgs) | ||
|
||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPFR DEFAULT_MSG MPFR_INCLUDE_DIR MPFR_LIBRARIES) | ||
find_package_handle_standard_args(MPFR DEFAULT_MSG MPFR_INCLUDE_DIR MPFR_LIBRARY) | ||
|
||
MARK_AS_ADVANCED(MPFR_INCLUDE_DIR MPFR_LIBRARIES) | ||
mark_as_advanced(MPFR_INCLUDE_DIR MPFR_LIBRARY) | ||
|
||
# NOTE: this has been adapted from CMake's FindPNG.cmake. | ||
if(MPFR_FOUND AND NOT TARGET MPFR::MPFR) | ||
add_library(MPFR::MPFR UNKNOWN IMPORTED) | ||
set_target_properties(MPFR::MPFR PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${MPFR_INCLUDE_DIR}" | ||
IMPORTED_LINK_INTERFACE_LANGUAGES "C" IMPORTED_LOCATION "${MPFR_LIBRARY}") | ||
endif() |
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,11 @@ | ||
#ifndef AUDI_CONFIG_HPP | ||
#define AUDI_CONFIG_HPP | ||
|
||
// Start of defines instantiated by CMake. | ||
// clang-format off | ||
#define AUDI_VERSION_STRING "@audi_VERSION@" | ||
#define AUDI_VERSION_MAJOR @audi_VERSION_MAJOR@ | ||
#define AUDI_VERSION_MINOR @audi_VERSION_MINOR@ | ||
@AUDI_ENABLE_MPPP@ | ||
|
||
#endif |
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
Oops, something went wrong.