BSD Ports

math/fast_float 8.0.2 DragonFly

Fast and exact C++ number parsing library

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20, BSL, MIT
Categories
math
Package size
39.7 KiB, 158.7 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
DragonFlymath/fast_float8.0.2
FreeBSDmath/fast_float8.3.0
NetBSDmath/fast_float8.2.10
MidnightBSDmath/fast_float6.1.3

Install

Binary package:

pkg install fast_float

From DPorts:

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

Dependencies

No port depends on this one.