BSD Ports

math/fast_float 6.1.3 MidnightBSD

Fast and exact C++ number parsing library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0, BSL-1.0, mit
Categories
math

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
MidnightBSDmath/fast_float6.1.3
FreeBSDmath/fast_float8.3.0
NetBSDmath/fast_float8.2.10
DragonFlymath/fast_float8.0.2

Install

Binary package:

mport install fast_float

From mports:

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

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

RUN_DEPENDS=	fast_float>0:math/fast_float

Dependencies

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-v6.1.3_GH0.tar.gz979417dd99cc2ff44e07dc2a42bed0c6b8c4a8ee4e3b1c330f77073b6cfdb48724c8e