devel/gcem 1.18.0 FreeBSD
C++ header-only library for Generalized Constant Expression Math
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
da28c3f6af- License
- APACHE20
- Categories
- devel
- Package size
- 32.4 KiB, 198.4 KiB installed
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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/gcem | 1.18.0 |
| OpenBSD | devel/gcem | 1.18.0 |
| NetBSD | math/gcem | 1.18.0 |
| DragonFly | devel/gcem | 1.18.0 |
| MidnightBSD | devel/gcem | 1.18.0 |
Install
Binary package:
pkg install gcem
From the ports tree:
cd /usr/ports/devel/gcem/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gcem>0:devel/gcem
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.18.0 | 1.18.0 | 1.16.0 | 1.18.0 | 1.18.0 |
| FreeBSD:14:quarterly | 1.18.0 | 1.18.0 | n/a | 1.18.0 | 1.18.0 |
| FreeBSD:15:latest | 1.18.0 | 1.18.0 | n/a | 1.18.0 | 1.18.0 |
| FreeBSD:15:quarterly | 1.18.0 | 1.18.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.18.0 | 1.18.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
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 |