BSD Ports

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

SystemPortVersion
OpenBSDdevel/gcem1.18.0
FreeBSDdevel/gcem1.18.0
NetBSDmath/gcem1.18.0
DragonFlydevel/gcem1.18.0
MidnightBSDdevel/gcem1.18.0
HardenedBSDdevel/gcem1.18.0
GhostBSDdevel/gcem1.18.0

Install

Binary package:

pkg_add gcem

From the ports tree:

cd /usr/ports/devel/gcem && make install

Dependencies

Build dependencies 2
Required by 1