Fast_float provides a set of C++ header files for efficient string to float operations.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/fastfloat/fast_float/archive/v8.2.0/fast_float-8.2.0.tar.gz
Download MD5 sum: 2b5096ac7dde45e4b95bde3a8dd15f31
Download size: 120 KB
Estimated disk space required: 620 MB (with tests)
Estimated build time: 0.2 SBU (with tests)
git-2.52.0 (for downloading some tests)
An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.16.1 before testing this package.
Install fast_float by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G Ninja ..
Now, as the root user:
ninja install
To test the results, issue: cmake .. -D FASTFLOAT_TEST=ON && ninja && ninja test. Note that it'll download some test files from the Internet, and those files would be installed if the test suite had run before ninja install. So don't run the test suite before installation.