devel/gcem 1.18.0 MidnightBSD
C++ header-only library for Generalized Constant Expression Math
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- 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 compatible. * Continued fraction expansions and series expansions are implemented using recursive templates. * The gcem:: syntax is identical to the C++ standard library (std::). * Tested and accurate to floating-point precision against the C++ standard library. * Released under a permissive, non-GPL license.
In the other systems
The newest version among them is 1.18.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/gcem | 1.18.0 newest | no data | - | [email protected] | - |
| FreeBSD | devel/gcem | 1.18.0 newest | none known | - | [email protected] | 2026-09-29 |
| OpenBSD | devel/gcem | 1.18.0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | math/gcem by name | 1.18.0 newest | none known | - | [email protected] | - |
| DragonFly | devel/gcem | 1.18.0 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/gcem | 1.18.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/gcem | 1.18.0 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install gcem
From mports:
cd /usr/mports/devel/gcem && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gcem>0:devel/gcem
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- cmake compiler:c++11-lang
- Service scripts
- none
Files
pkg-plist 71
- include/gcem.hpp
- include/gcem_incl/abs.hpp
- include/gcem_incl/acos.hpp
- include/gcem_incl/acosh.hpp
- include/gcem_incl/asin.hpp
- include/gcem_incl/asinh.hpp
- include/gcem_incl/atan.hpp
- include/gcem_incl/atan2.hpp
- include/gcem_incl/atanh.hpp
- include/gcem_incl/beta.hpp
- include/gcem_incl/binomial_coef.hpp
- include/gcem_incl/ceil.hpp
- include/gcem_incl/copysign.hpp
- include/gcem_incl/cos.hpp
- include/gcem_incl/cosh.hpp
- include/gcem_incl/erf.hpp
- include/gcem_incl/erf_inv.hpp
- include/gcem_incl/exp.hpp
- include/gcem_incl/expm1.hpp
- include/gcem_incl/fabs.hpp
- include/gcem_incl/fabsf.hpp
- include/gcem_incl/fabsl.hpp
- include/gcem_incl/factorial.hpp
- include/gcem_incl/find_exponent.hpp
- include/gcem_incl/find_fraction.hpp
- include/gcem_incl/find_whole.hpp
- include/gcem_incl/floor.hpp
- include/gcem_incl/fmod.hpp
- include/gcem_incl/gcd.hpp
- include/gcem_incl/gcem_options.hpp
- include/gcem_incl/hypot.hpp
- include/gcem_incl/incomplete_beta.hpp
- include/gcem_incl/incomplete_beta_inv.hpp
- include/gcem_incl/incomplete_gamma.hpp
- include/gcem_incl/incomplete_gamma_inv.hpp
- include/gcem_incl/inv_sqrt.hpp
- include/gcem_incl/is_even.hpp
- include/gcem_incl/is_finite.hpp
- include/gcem_incl/is_inf.hpp
- include/gcem_incl/is_nan.hpp
- include/gcem_incl/is_odd.hpp
- include/gcem_incl/lbeta.hpp
- include/gcem_incl/lcm.hpp
- include/gcem_incl/lgamma.hpp
- include/gcem_incl/lmgamma.hpp
- include/gcem_incl/log.hpp
- include/gcem_incl/log10.hpp
- include/gcem_incl/log1p.hpp
- include/gcem_incl/log2.hpp
- include/gcem_incl/log_binomial_coef.hpp
- include/gcem_incl/mantissa.hpp
- include/gcem_incl/max.hpp
- include/gcem_incl/min.hpp
- include/gcem_incl/neg_zero.hpp
- include/gcem_incl/pow.hpp
- include/gcem_incl/pow_integral.hpp
- include/gcem_incl/quadrature/gauss_legendre_30.hpp
- include/gcem_incl/quadrature/gauss_legendre_50.hpp
- include/gcem_incl/round.hpp
- include/gcem_incl/sgn.hpp
- include/gcem_incl/signbit.hpp
- include/gcem_incl/sin.hpp
- include/gcem_incl/sinh.hpp
- include/gcem_incl/sqrt.hpp
- include/gcem_incl/tan.hpp
- include/gcem_incl/tanh.hpp
- include/gcem_incl/tgamma.hpp
- include/gcem_incl/trunc.hpp
- lib/cmake/gcem/gcemConfig.cmake
- lib/cmake/gcem/gcemConfigVersion.cmake
- lib/cmake/gcem/gcemTargets.cmake
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| kthohr-gcem-v1.18.0_GH0.tar.gz | 57834 | 8e71a9f5b62956da6c409dda44b483f98c4a98ae72184f3aa4659ae5b3462e61 |