BSD Ports

math/tlfloat 1.15.0_1 MidnightBSD

C++ template library for floating point operations

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
BSL-1.0
Categories
math

Description

This library implements C++ classes with which half, single, double, quadruple and octuple precision IEEE 754 floating point numbers can be operated.

Internally, these classes are implemented as class templates on top of arbitrary-precision integer class templates so that the templates are expanded as arbitrary precision floating-point operations by just changing the template parameters, rather than implementing each floating-point operation for each precision. The arbitrary-precision integer class templates are also included in this library.

In the other systems

SystemPortVersion
MidnightBSDmath/tlfloat1.15.0_1
FreeBSDmath/tlfloat1.15.0_1
HardenedBSDmath/tlfloat1.15.0_1
GhostBSDmath/tlfloat1.15.0_1

Install

Binary package:

mport install tlfloat

From mports:

cd /usr/mports/math/tlfloat && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tlfloat>0:math/tlfloat
LIB_DEPENDS=	libtlfloat.so:math/tlfloat

Dependencies

As this port's Makefile names them.

Test 1

Required by 1

Configuration

No options to configure.

USES
cmake:testing compiler:c++20-lang pathfix
Service scripts
none

Files

pkg-plist 11
  • include/tlfloat/bigint.hpp
  • include/tlfloat/rpitab.hpp
  • include/tlfloat/tlfloat.h
  • include/tlfloat/tlfloat.hpp
  • include/tlfloat/tlfloatconfig.hpp
  • include/tlfloat/tlmath.hpp
  • include/tlfloat/tlmathcoef.hpp
  • lib/libtlfloat.so
  • lib/libtlfloat.so.1
  • lib/libtlfloat.so.1.15.0
  • libdata/pkgconfig/tlfloat.pc
distinfo 1
FileSizeSHA256
shibatch-tlfloat-v1.15.0_GH0.tar.gz266438f96a19273111de3c8818965dc3d68cbd66edaba62f03bcd2c06525a22197c97b