BSD Ports

math/fast_float 8.3.0 FreeBSD

Fast and exact C++ number parsing library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
4d3ddd07d9
License
APACHE20, BSL, MIT
Categories
math
Package size
48.8 KiB, 184.9 KiB installed

Description

The fast_float library provides fast header-only implementations for the C++ from_chars functions for float and double types. These functions convert ASCII strings representing decimal values (e.g., 1.3e10) into binary types. We provide exact rounding (including round to even). In our experience, these fast_float functions many times faster than comparable number-parsing functions from existing C++ standard libraries.

In the other systems

SystemPortVersion
FreeBSDmath/fast_float8.3.0
NetBSDmath/fast_float8.2.10
DragonFlymath/fast_float8.0.2
MidnightBSDmath/fast_float6.1.3

Install

Binary package:

pkg install fast_float

From the ports tree:

cd /usr/ports/math/fast_float/ && make install clean

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

RUN_DEPENDS=	fast_float>0:math/fast_float

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest8.3.08.3.0-8.0.28.3.0
FreeBSD:14:quarterly8.3.08.3.0n/a8.0.28.3.0
FreeBSD:15:latest8.3.08.3.0n/a8.0.28.0.2
FreeBSD:15:quarterly8.3.08.3.0n/an/an/a
FreeBSD:16:latest8.3.08.3.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Configuration

No options to configure.

USES
cmake compiler:c++11-lang
Service scripts
none

Files

pkg-plist 12
  • include/fast_float/ascii_number.h
  • include/fast_float/bigint.h
  • include/fast_float/constexpr_feature_detect.h
  • include/fast_float/decimal_to_binary.h
  • include/fast_float/digit_comparison.h
  • include/fast_float/fast_float.h
  • include/fast_float/fast_table.h
  • include/fast_float/float_common.h
  • include/fast_float/parse_number.h
  • share/cmake/FastFloat/FastFloatConfig.cmake
  • share/cmake/FastFloat/FastFloatConfigVersion.cmake
  • share/cmake/FastFloat/fast_float-targets.cmake
distinfo 1
FileSizeSHA256
fastfloat-fast_float-v8.3.0_GH0.tar.gz14338590485994d0fed61d0693e8dba32c464b0e8adf7f2e7c2efbf5bff0df5ef5b13f

Commit history 2

DateCommitCreditsLog message
4d3ddd07d9 Po-Chuan Hsieh math/fast_float: Update to 8.3.0
Changes: https://github.com/fastfloat/fast_float/releases
bc88f2244c Po-Chuan Hsieh math/fast_float: Update to 8.2.10
Changes: https://github.com/fastfloat/fast_float/releases