devel/gcem 1.18.0 OpenBSD
C++ compile-time math library
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel
Description
GCE-Math (Generalized Constant Expression Math) is a templated C++ library enabling compile-time computation of mathematical functions.
Features:
- The library is written in C++11 constexpr format, and is C++11/14/17/20 compatible. - Continued fraction expansions and series expansions are implemented using recursive templates.
- The gcem:: syntax is identical to that of the C++ standard library (std::).
- Tested and accurate to floating-point precision against the C++ standard library.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/gcem | 1.18.0 |
| FreeBSD | devel/gcem | 1.18.0 |
| NetBSD | math/gcem | 1.18.0 |
| DragonFly | devel/gcem | 1.18.0 |
| MidnightBSD | devel/gcem | 1.18.0 |
| HardenedBSD | devel/gcem | 1.18.0 |
| GhostBSD | devel/gcem | 1.18.0 |
Install
Binary package:
pkg_add gcem
From the ports tree:
cd /usr/ports/devel/gcem && make install