Double-conversion-3.3.1

Introduction to Double-conversion

The Double-conversion package contains a library that facilitates binary-to-decimal and decimal-to-binary routines for IEEE doubles.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

Double-conversion Dependencies

Required

CMake-4.1.0

Installation of Double-conversion

Install Double-conversion by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr        \
      -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
      -D BUILD_SHARED_LIBS=ON             \
      -D BUILD_TESTING=ON                 \
      ..                                  &&
make

To test the results, issue: make test.

Now, as the root user:

make install

Command Explanations

-D CMAKE_POLICY_VERSION_MINIMUM=3.5: This switch allows building this package with cmake-4.0 or newer.

-D BUILD_SHARED_LIBS=ON: This switch forces cmake to build a shared version of the library instead of the static version.

-D BUILD_TESTING=ON: This switch builds the test programs.

Contents

Installed Programs: None
Installed Libraries: libdouble-conversion.so
Installed Directories: /usr/include/double-conversion

Short Descriptions

libdouble-conversion.so

provides binary-to-decimal and decimal-to-binary routines for IEEE doubles