Skip to content
 
 

Latest commit

 

History

120 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAOL

Not Just Another Interval Library

GAOL is a C++ Interval Arithmetic library that strives to offer fast and reliable operators for constraint solvers.

Author

GAOL is written by Frédéric Goualard, Associate Professor in Computing Science at Nantes Université (LS2N, UMR CNRS 6004), who has been its main developer since 2001. Its page is the GAOL section of Frédéric Goualard's site, and its original repository is goualard-f/GAOL.

Publications of Frédéric Goualard related to GAOL (see the full list):

This fork

This fork of GAOL adds a CMake build, tests of the bounds GAOL computes, and the changes GAOL needs to compile and compute right on every system it can: Linux, macOS and Windows, on x86, x86_64, ARM, arm64 and the other processors of Debian. It was written for Codac, whose intervals are built upon GAOL. The autotools and meson builds of GAOL are kept, and the three builds configure GAOL the same way (see The three builds).

Quick start

cmake -S . -B build -DCMAKE_INSTALL_PREFIX=<prefix> -DGAOL_BUILD_TESTS=ON
cmake --build build --config Release
ctest --test-dir build -C Release
cmake --install build --config Release

The CMake build downloads mathlib, the mathematical library GAOL computes its elementary functions with, fixes it and installs it along with GAOL; the autotools and meson builds need it installed beforehand (scripts/install-mathlib.sh). A CMake project then uses the installed GAOL with:

find_package(gaol REQUIRED)
target_link_libraries(my_target PRIVATE gaol::gaol)

gaol::gaol, and gaol.pc for pkg-config, carry the flags of interval arithmetic that the code including GAOL's headers has to be compiled with.

Documentation

Licences

GAOL, by Frédéric Goualard, is distributed under the GNU LGPL v2 (COPYING.LIB). mathlib, which the CMake build downloads, is distributed under the GNU LGPL v2 or later, as the headers of its sources state (its archive carries the text of the GNU GPL v2).

About

GAOL is not Just Another Interval Arithmetic Library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages