diff --git a/CMakeLists.txt b/CMakeLists.txt index e45fdb10f..4f1c8b966 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,14 +4,7 @@ cmake_minimum_required(VERSION 3.10...3.20) -# Set version explicitly if not part of Boost superproject -if(NOT BOOST_SUPERPROJECT_VERSION) - set(BOOST_DECIMAL_VERSION 6.0.1) -else() - set(BOOST_DECIMAL_VERSION ${BOOST_SUPERPROJECT_VERSION}) -endif() - -project(boost_decimal VERSION ${BOOST_DECIMAL_VERSION} LANGUAGES CXX) +project(boost_decimal VERSION 1.91.0 LANGUAGES CXX) add_library(boost_decimal INTERFACE) diff --git a/README.md b/README.md index d6fbcbca3..1007a6d50 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ | | Master | Develop | |------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------| -| Drone | [![Build Status](https://drone.cpp.al/api/badges/cppalliance/decimal/status.svg?ref=refs/heads/master)](https://drone.cpp.al/cppalliance/decimal) | [![Build Status](https://drone.cpp.al/api/badges/cppalliance/decimal/status.svg?ref=refs/heads/develop)](https://drone.cpp.al/cppalliance/decimal) | -| Github Actions | [![CI](https://github.com/cppalliance/decimal/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/cppalliance/decimal/actions/workflows/ci.yml) | [![CI](https://github.com/cppalliance/decimal/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/cppalliance/decimal/actions/workflows/ci.yml) -| Codecov | [![codecov](https://codecov.io/gh/cppalliance/decimal/branch/master/graph/badge.svg?token=drvY8nnV5S)](https://codecov.io/gh/cppalliance/decimal) | [![codecov](https://codecov.io/gh/cppalliance/decimal/graph/badge.svg?token=drvY8nnV5S)](https://codecov.io/gh/cppalliance/decimal) | -| Fuzzing | [![Fuzzing](https://github.com/cppalliance/decimal/actions/workflows/fuzz.yml/badge.svg?branch=master)](https://github.com/cppalliance/decimal/actions/workflows/fuzz.yml) | [![Fuzzing](https://github.com/cppalliance/decimal/actions/workflows/fuzz.yml/badge.svg?branch=develop)](https://github.com/cppalliance/decimal/actions/workflows/fuzz.yml) | -| Metal | [![Metal](https://github.com/cppalliance/decimal/actions/workflows/metal.yml/badge.svg?branch=master)](https://github.com/cppalliance/decimal/actions/workflows/metal.yml) | [![Metal](https://github.com/cppalliance/decimal/actions/workflows/metal.yml/badge.svg?branch=develop)](https://github.com/cppalliance/decimal/actions/workflows/metal.yml) | +| Drone | [![Build Status](https://drone.cpp.al/api/badges/boostorg/decimal/status.svg?ref=refs/heads/master)](https://drone.cpp.al/boostorg/decimal) | [![Build Status](https://drone.cpp.al/api/badges/boostorg/decimal/status.svg?ref=refs/heads/develop)](https://drone.cpp.al/boostorg/decimal) | +| Github Actions | [![CI](https://github.com/boostorg/decimal/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/boostorg/decimal/actions/workflows/ci.yml) | [![CI](https://github.com/boostorg/decimal/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/boostorg/decimal/actions/workflows/ci.yml) +| Codecov | [![codecov](https://codecov.io/gh/boostorg/decimal/branch/master/graph/badge.svg?token=drvY8nnV5S)](https://codecov.io/gh/boostorg/decimal) | [![codecov](https://codecov.io/gh/boostorg/decimal/graph/badge.svg?token=drvY8nnV5S)](https://codecov.io/gh/boostorg/decimal) | +| Fuzzing | [![Fuzzing](https://github.com/boostorg/decimal/actions/workflows/fuzz.yml/badge.svg?branch=master)](https://github.com/boostorg/decimal/actions/workflows/fuzz.yml) | [![Fuzzing](https://github.com/boostorg/decimal/actions/workflows/fuzz.yml/badge.svg?branch=develop)](https://github.com/boostorg/decimal/actions/workflows/fuzz.yml) | +| Metal | [![Metal](https://github.com/boostorg/decimal/actions/workflows/metal.yml/badge.svg?branch=master)](https://github.com/boostorg/decimal/actions/workflows/metal.yml) | [![Metal](https://github.com/boostorg/decimal/actions/workflows/metal.yml/badge.svg?branch=develop)](https://github.com/boostorg/decimal/actions/workflows/metal.yml) | --- @@ -21,7 +21,7 @@ Simply `#include` it and use it. ## CMake ```sh -git clone https://github.com/cppalliance/decimal +git clone https://github.com/boostorg/decimal cd decimal mkdir build && cd build cmake .. OR cmake .. -DCMAKE_INSTALL_PREFIX=/your/custom/path @@ -32,18 +32,11 @@ then you can use `find_package(boost_decimal REQUIRED)` ## vcpkg -```sh -git clone https://github.com/cppalliance/decimal -cd decimal -vcpkg install decimal --overlay-ports=ports/decimal -``` +Available in official vcpkg sources soon ## Conan -```sh -git clone https://github.com/cppalliance/decimal -conan create decimal/conan --build missing -``` +Available in official conan sources soon # Supported Platforms @@ -90,7 +83,7 @@ They have their own implementations of the Standard-Library functions (e.g. like those found in ``, ``, ``, etc.). The entire library can be conveniently included with `#include ` -Using the decimal types is simple and can be learned by [example](https://develop.decimal.cpp.al/decimal/examples.html). +Using the decimal types is straightforward and can be learned by [example](https://develop.decimal.cpp.al/decimal/examples.html). Their usage closely resembles that of built-in binary floating point types by design. # Full Documentation diff --git a/build.jam b/build.jam index bfb031090..3916855ec 100644 --- a/build.jam +++ b/build.jam @@ -6,13 +6,10 @@ require-b2 5.2 ; -project /boost/decimal - : common-requirements - include - ; +project /boost/decimal ; explicit - [ alias boost_decimal ] + [ alias boost_decimal : : : : include $(boost_dependencies) ] [ alias all : boost_decimal test ] ; diff --git a/conan/conanfile.py b/conan/conanfile.py deleted file mode 100644 index 0c1f80464..000000000 --- a/conan/conanfile.py +++ /dev/null @@ -1,102 +0,0 @@ -from conan import ConanFile -from conan.errors import ( - ConanException, - ConanInvalidConfiguration, -) -from conan.tools.files import copy -from conan.tools.build import check_min_cppstd -from conan.tools.cmake import ( - cmake_layout, - CMake, - CMakeDeps, - CMakeToolchain, -) -from conan.tools.scm import Version - -import os - -required_conan_version = ">=1.53.0" - -class CharconvConan(ConanFile): - name = "boost_decimal" - version = "6.0.1" - description = "Boost provides free peer-reviewed portable C++ source libraries" - url = "https://github.com/cppalliance/decimal" - homepage = "https://github.com/cppalliance/decimal" - license = "BSL-1.0" - topics = ("decimal-binary", "conversion") - - settings = "os", "arch", "compiler", "build_type" - - options = { - "shared": [True, False], - "fPIC": [True, False], - } - default_options = { - "shared": False, - "fPIC": True, - } - - requires = "boost/[>=1.82.0]" - - @property - def _min_compiler_version_default_cxx14(self): - return { - "apple-clang": 99, - "gcc": 7, - "clang": 6, - "Visual Studio": 14, # guess - "msvc": 192, - }.get(str(self.settings.compiler)) - - def config_options(self): - if self.settings.os == "Windows": - del self.options.fPIC - - def validate(self): - if self.settings.compiler.get_safe("cppstd"): - check_min_cppstd(self, 14) - else: - version_cxx14_standard_json = self._min_compiler_version_default_cxx14 - if not version_cxx14_standard_json: - self.output.warning("Assuming the compiler supports c++14 by default") - elif Version(self.settings.compiler.version) < version_cxx14_standard_json: - raise ConanInvalidConfiguration("Boost.Decimal requires C++14") - - def layout(self): - self.folders.root = ".." - cmake_layout(self, build_folder="bin") - - def export_sources(self): - src = os.path.join(self.recipe_folder, "..") - copy(self, "CMakeLists.txt", src, self.export_sources_folder) - copy(self, "LICENSE", src, self.export_sources_folder) - copy(self, "include*", src, self.export_sources_folder) - copy(self, "conan/*.cmake", src, self.export_sources_folder) - - def generate(self): - boost = self.dependencies["boost"] - - tc = CMakeToolchain(self) - tc.variables["BOOST_SUPERPROJECT_VERSION"] = boost.ref.version - tc.variables["CMAKE_PROJECT_boost_decimal_INCLUDE"] = os.path.join( - self.source_folder, "conan", "targets.cmake") - tc.generate() - - deps = CMakeDeps(self) - deps.generate() - - def build(self): - cmake = CMake(self) - cmake.configure() - cmake.build() - - def package(self): - libdir = os.path.join(self.package_folder, "lib") - - copy(self, "include/*", self.source_folder, self.package_folder) - - copy(self, "LICENSE", self.source_folder, self.package_folder) - - def package_info(self): - self.cpp_info.libs = ["boost_decimal"] diff --git a/conan/targets.cmake b/conan/targets.cmake deleted file mode 100644 index 04b9cac61..000000000 --- a/conan/targets.cmake +++ /dev/null @@ -1 +0,0 @@ -find_package(Boost) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 9c3c879ce..ba20ae83f 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,57 +1,28 @@ -import generate ; -import path ; -import property-set ; -import virtual-target ; +# Copyright 2026 Joaquin M Lopez Munoz +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -path-constant HERE : . ; +import path ; -make html/index.html : build_antora.sh : @run-script ; -generate files-to-install : html/index.html : @delayed-glob ; -install install - : files-to-install - : html - html/decimal - ; -explicit html/index.html files-to-install ; +make html_ : build_antora.sh : @run-script ; -# this runs the antora script actions run-script { bash $(>) } -# this globs after its sources are created -rule delayed-glob ( project name : property-set : sources * ) -{ - for local src in $(sources) - { - # the next line causes the source to be generated immediately - # and not later (which it normally would) - UPDATE_NOW [ $(src).actualize ] ; - } +path-constant DOC_DIR : . ; +.node_modules = [ path.join $(DOC_DIR) node_modules ] ; - # we need to construct the path to the globbed directory; - # this path would be /antora - local root = [ path.root html [ $(project).location ] ] ; - local files ; +make cleanup_node_modules_ : html_ : @cleanup-node-modules ; - # actual globbing happens here - for local file in [ path.glob-tree $(root) : * ] - { - # we have to skip directories, because our match expression accepts anything - if [ CHECK_IF_FILE $(file) ] - { - # we construct a list of targets to copy - files += [ virtual-target.from-file $(file:D=) : $(file:D) : $(project) ] ; - } - } - - # we prepend empty usage requirements to the result - return [ property-set.empty ] $(files) ; +actions cleanup-node-modules +{ + rm -rf $(.node_modules) } ############################################################################### alias boostdoc ; explicit boostdoc ; -alias boostrelease : install ; +alias boostrelease : html_ cleanup_node_modules_ ; explicit boostrelease ; diff --git a/doc/antora.yml b/doc/antora.yml index 5fee1e02f..2160328aa 100644 --- a/doc/antora.yml +++ b/doc/antora.yml @@ -1,4 +1,4 @@ -name: decimal +name: ROOT version: ~ title: Boost.Decimal nav: diff --git a/doc/antora_docs.sh b/doc/antora_docs.sh deleted file mode 100644 index 401ad1e6c..000000000 --- a/doc/antora_docs.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -set -ex - -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -cd "$SCRIPT_DIR" - -npm ci -npx antora decimal-playbook.yml diff --git a/doc/decimal-playbook.yml b/doc/decimal-playbook.yml index 3f695de2f..0cf6bcc64 100644 --- a/doc/decimal-playbook.yml +++ b/doc/decimal-playbook.yml @@ -1,6 +1,6 @@ site: title: Boost.Decimal - start_page: decimal::index.adoc + start_page: ROOT::overview.adoc content: sources: - url: .. @@ -11,8 +11,7 @@ output: ui: bundle: url: https://github.com/boostorg/website-v2-docs/releases/download/ui-develop/ui-bundle.zip - output_dir: decimal/_ + output_dir: _ antora: extensions: - require: '@cppalliance/antora-downloads-extension' - - require: '@antora/lunr-extension' diff --git a/doc/modules/ROOT/pages/basics.adoc b/doc/modules/ROOT/pages/basics.adoc index f0bb9c7a6..b2db4523e 100644 --- a/doc/modules/ROOT/pages/basics.adoc +++ b/doc/modules/ROOT/pages/basics.adoc @@ -99,7 +99,7 @@ The entire library can be accessed using the convenience header `` Example -This example can be found in the `examples/` folder as https://github.com/cppalliance/decimal/blob/develop/examples/charconv_cohort_preservation.cpp[charconv_cohort_preservation.cpp]. +This example can be found in the `examples/` folder as https://github.com/boostorg/decimal/blob/develop/examples/charconv_cohort_preservation.cpp[charconv_cohort_preservation.cpp]. [source, c++] ---- diff --git a/doc/modules/ROOT/pages/conversions.adoc b/doc/modules/ROOT/pages/conversions.adoc index 1cbf5d2f5..cf0a80782 100644 --- a/doc/modules/ROOT/pages/conversions.adoc +++ b/doc/modules/ROOT/pages/conversions.adoc @@ -118,7 +118,7 @@ constexpr T from_dpd(unsigned __int128 bits) noexcept; == Bit Conversions Example -The following example is copied and pasted from the examples/ folder of the library and is called https://github.com/cppalliance/decimal/blob/develop/examples/bit_conversions.cpp[bit_conversions.cpp]. +The following example is copied and pasted from the examples/ folder of the library and is called https://github.com/boostorg/decimal/blob/develop/examples/bit_conversions.cpp[bit_conversions.cpp]. [source, c++] ---- diff --git a/doc/modules/ROOT/pages/examples.adoc b/doc/modules/ROOT/pages/examples.adoc index 2ca6d1bbe..ea27b37d9 100644 --- a/doc/modules/ROOT/pages/examples.adoc +++ b/doc/modules/ROOT/pages/examples.adoc @@ -13,7 +13,7 @@ All of these examples can be found in the library `examples/` folder as well. [#examples_construction] == Basic Construction -.This https://github.com/cppalliance/decimal/blob/develop/examples/basic_construction.cpp[example] demonstrates the basic use of the various constructors offered by the decimal types +.This https://github.com/boostorg/decimal/blob/develop/examples/basic_construction.cpp[example] demonstrates the basic use of the various constructors offered by the decimal types ==== [source, c++] ---- @@ -36,7 +36,7 @@ Can not construct from invalid string [#examples_basic_math] == Basic Arithmetic -.This https://github.com/cppalliance/decimal/blob/develop/examples/basic_arithmetic.cpp[example] demonstrates the behavior and functionality of arithmetic using a single type +.This https://github.com/boostorg/decimal/blob/develop/examples/basic_arithmetic.cpp[example] demonstrates the behavior and functionality of arithmetic using a single type ==== [source, c++] ---- @@ -55,7 +55,7 @@ Wolfram Alpha sqrt(2): 1.414213562373095 ==== [#examples_math_results] -.This https://github.com/cppalliance/decimal/blob/develop/examples/addition.cpp[example] shows the differences in arithmetic results between decimal floating point and binary floating point +.This https://github.com/boostorg/decimal/blob/develop/examples/addition.cpp[example] shows the differences in arithmetic results between decimal floating point and binary floating point ==== [source,c++] ---- @@ -75,7 +75,7 @@ Decimal Result: 100 [#examples_integer_conversions] === Integral Conversions -.This https://github.com/cppalliance/decimal/blob/develop/examples/integral_conversions.cpp[example] shows how to construct an integral value from decimal type and vice versa, as well as the behavior +.This https://github.com/boostorg/decimal/blob/develop/examples/integral_conversions.cpp[example] shows how to construct an integral value from decimal type and vice versa, as well as the behavior ==== [source, c++] @@ -107,7 +107,7 @@ decimal32_t from max: 1.844674e+19 [#examples_binary_floating_conversions] === Binary Floating Point Conversions -.This https://github.com/cppalliance/decimal/blob/develop/examples/binary_float_conversions.cpp[example] shows how to construct a binary floating point value from decimal type and vice versa, as well as the behavior +.This https://github.com/boostorg/decimal/blob/develop/examples/binary_float_conversions.cpp[example] shows how to construct a binary floating point value from decimal type and vice versa, as well as the behavior ==== [source,c++] ---- @@ -128,7 +128,7 @@ decimal32_t pi: 3.141593 [#examples_promotion] == Promotion and Mixed Decimal Arithmetic -.This https://github.com/cppalliance/decimal/blob/develop/examples/promotion.cpp[example] demonstrates the behaviors of promotion between types, and mixed decimal type arithmetic +.This https://github.com/boostorg/decimal/blob/develop/examples/promotion.cpp[example] demonstrates the behaviors of promotion between types, and mixed decimal type arithmetic ==== [source, c++] ---- @@ -151,7 +151,7 @@ The result of 2*c is a decimal64_t: 18.2 [#examples_charconv] == `` -.This https://github.com/cppalliance/decimal/blob/develop/examples/charconv.cpp[example] demonstrates the fundamentals of the `` like functions provided by the library +.This https://github.com/boostorg/decimal/blob/develop/examples/charconv.cpp[example] demonstrates the fundamentals of the `` like functions provided by the library ==== [source, c++] ---- @@ -169,7 +169,7 @@ Value in scientific format with precision 20: -7.12345000000000000000e+06 [#examples_generic_programming] == Generic Programming -.This https://github.com/cppalliance/decimal/blob/develop/examples/adl.cpp[example] demonstrates how to write generic code that accepts both built-in floating point types, and decimal floating point values from this library +.This https://github.com/boostorg/decimal/blob/develop/examples/adl.cpp[example] demonstrates how to write generic code that accepts both built-in floating point types, and decimal floating point values from this library ==== [source, c++] ---- @@ -206,7 +206,7 @@ sin(-0.5) = -0.479426 [#examples_literals_constants] == Literals and Constants -.This https://github.com/cppalliance/decimal/blob/develop/examples/literals.cpp[example] demonstrates how to construct values using literals, and the usage of numerical constants that are provided by the library +.This https://github.com/boostorg/decimal/blob/develop/examples/literals.cpp[example] demonstrates how to construct values using literals, and the usage of numerical constants that are provided by the library ==== [source, c++] ---- @@ -233,7 +233,7 @@ pass:[{fmt}] support is available starting with pass:[C++14] so long as you have [#examples_fmt_format] === `` -.This https://github.com/cppalliance/decimal/blob/develop/examples/fmt_format.cpp[example] demonstrates the various formatting options provided by the library to support usage of pass:[{fmt}] +.This https://github.com/boostorg/decimal/blob/develop/examples/fmt_format.cpp[example] demonstrates the various formatting options provided by the library to support usage of pass:[{fmt}] ==== [source, c++] ---- @@ -339,7 +339,7 @@ You must include it yourself. Taking the above example of pass:[{fmt}] and replacing all instances of `namespace fmt` with `namespace std` gives us another working example. -.This https://github.com/cppalliance/decimal/blob/develop/examples/format.cpp[example] demonstrates how to use `` with the library in-place or in addition to pass:[{fmt}] +.This https://github.com/boostorg/decimal/blob/develop/examples/format.cpp[example] demonstrates how to use `` with the library in-place or in addition to pass:[{fmt}] ==== [source, c++] ---- @@ -383,7 +383,7 @@ Combined Format Specifiers: [#examples_print] === `` -.This https://github.com/cppalliance/decimal/blob/develop/examples/print.cpp[example] demonstrates how to use `` with the library +.This https://github.com/boostorg/decimal/blob/develop/examples/print.cpp[example] demonstrates how to use `` with the library ==== [source, c++] ---- diff --git a/doc/modules/ROOT/pages/financial_examples.adoc b/doc/modules/ROOT/pages/financial_examples.adoc index 872f82abd..46c952af0 100644 --- a/doc/modules/ROOT/pages/financial_examples.adoc +++ b/doc/modules/ROOT/pages/financial_examples.adoc @@ -13,7 +13,7 @@ All of these examples can be found in the library `examples/` folder as well. == Parsing Pricing Data from File [#examples_money_parsing] -.This https://github.com/cppalliance/decimal/blob/develop/examples/numerical_parsing.cpp[example] demonstrates the numerical differences between parsing of monetary values between using `decimal32_t` and `float` +.This https://github.com/boostorg/decimal/blob/develop/examples/numerical_parsing.cpp[example] demonstrates the numerical differences between parsing of monetary values between using `decimal32_t` and `float` ==== [source, c++] ---- @@ -31,7 +31,7 @@ Sum using decimal32_t: 52151.99 [#examples_boost_math] == Boost.Math to Calculate Bollinger Bands -.This https://github.com/cppalliance/decimal/blob/develop/examples/statistics.cpp[example] demonstrates how we can use the decimal library with existing Boost.Math facilities to perform statistical analysis +.This https://github.com/boostorg/decimal/blob/develop/examples/statistics.cpp[example] demonstrates how we can use the decimal library with existing Boost.Math facilities to perform statistical analysis ==== [source, c++] ---- diff --git a/doc/modules/ROOT/pages/format.adoc b/doc/modules/ROOT/pages/format.adoc index 0261be999..b87ff2500 100644 --- a/doc/modules/ROOT/pages/format.adoc +++ b/doc/modules/ROOT/pages/format.adoc @@ -84,7 +84,7 @@ String literal pass:["{Sign, Padding, Precision, Type, Locale}"] == Examples -This example can be found in the examples/ folder as https://github.com/cppalliance/decimal/blob/develop/examples/fmt_format.cpp[fmt_format.cpp] +This example can be found in the examples/ folder as https://github.com/boostorg/decimal/blob/develop/examples/fmt_format.cpp[fmt_format.cpp] The header `` is *NOT* part of the convenience header, because it is an optional dependency on a potentially compiled library. diff --git a/doc/modules/ROOT/pages/overview.adoc b/doc/modules/ROOT/pages/overview.adoc index 9a3c22eee..b837cdf3d 100644 --- a/doc/modules/ROOT/pages/overview.adoc +++ b/doc/modules/ROOT/pages/overview.adoc @@ -41,5 +41,5 @@ and Windows (x32 and x64); as well as emulated PPC64LE and ARM Cortex-M using QE * Visual Studio 2019 and later * Intel OneAPI DPC++ -Tested on https://github.com/cppalliance/decimal/actions[Github Actions] and https://drone.cpp.al/cppalliance/decimal[Drone]. -Coverage can be found on https://app.codecov.io/gh/cppalliance/decimal[Codecov]. +Tested on https://github.com/boostorg/decimal/actions[Github Actions] and https://drone.cpp.al/boostorg/decimal[Drone]. +Coverage can be found on https://app.codecov.io/gh/boostorg/decimal[Codecov]. diff --git a/doc/package-lock.json b/doc/package-lock.json index 86eaeb650..13afaee25 100644 --- a/doc/package-lock.json +++ b/doc/package-lock.json @@ -5,7 +5,6 @@ "packages": { "": { "dependencies": { - "@antora/lunr-extension": "^1.0.0-alpha.12", "@cppalliance/antora-downloads-extension": "^0.0.2" }, "devDependencies": { @@ -161,23 +160,6 @@ "node": ">=16.0.0" } }, - "node_modules/@antora/lunr-extension": { - "version": "1.0.0-alpha.12", - "resolved": "https://registry.npmjs.org/@antora/lunr-extension/-/lunr-extension-1.0.0-alpha.12.tgz", - "integrity": "sha512-iiEXpJae8tCH22ao7kZ4I+eyQ/3IeFIFK1G5I9QLpkCezaVPotI8eLFY7e0xDI+zsqJEfCOsfoZGYXso6xCYlA==", - "license": "MPL-2.0", - "workspaces": [ - "." - ], - "dependencies": { - "htmlparser2": "~9.1", - "lunr": "~2.3", - "lunr-languages": "~1.10" - }, - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/@antora/navigation-builder": { "version": "3.1.14", "resolved": "https://registry.npmjs.org/@antora/navigation-builder/-/navigation-builder-3.1.14.tgz", @@ -763,61 +745,6 @@ "dev": true, "license": "MIT" }, - "node_modules/dom-serializer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", - "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", - "entities": "^4.2.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "BSD-2-Clause" - }, - "node_modules/domhandler": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", - "license": "BSD-2-Clause", - "dependencies": { - "domelementtype": "^2.3.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/domutils": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", - "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", - "license": "BSD-2-Clause", - "dependencies": { - "dom-serializer": "^2.0.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, "node_modules/dunder-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", @@ -842,18 +769,6 @@ "once": "^1.4.0" } }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, "node_modules/es-define-property": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", @@ -1193,25 +1108,6 @@ "node": ">=14" } }, - "node_modules/htmlparser2": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", - "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.1.0", - "entities": "^4.5.0" - } - }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -1396,18 +1292,6 @@ "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", "dev": true }, - "node_modules/lunr": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", - "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", - "license": "MIT" - }, - "node_modules/lunr-languages": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.10.0.tgz", - "integrity": "sha512-BBjKKcwrieJlzwwc9M5H/MRXGJ2qyOSDx/NXYiwkuKjiLOOoouh0WsDzeqcLoUWcX31y7i8sb8IgsZKObdUCkw==", - "license": "MPL-1.1" - }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", diff --git a/doc/package.json b/doc/package.json index 2d89d19c9..df62a12a4 100644 --- a/doc/package.json +++ b/doc/package.json @@ -5,7 +5,6 @@ "antora": "3.1.14" }, "dependencies": { - "@cppalliance/antora-downloads-extension": "^0.0.2", - "@antora/lunr-extension": "^1.0.0-alpha.12" + "@cppalliance/antora-downloads-extension": "^0.0.2" } } diff --git a/include/boost/decimal/detail/config.hpp b/include/boost/decimal/detail/config.hpp index 2eb885cdb..ca0e80b87 100644 --- a/include/boost/decimal/detail/config.hpp +++ b/include/boost/decimal/detail/config.hpp @@ -26,7 +26,7 @@ #else -#error Could not determine endian type. Please file an issue at https://github.com/cppalliance/decimal with your architecture +#error Could not determine endian type. Please file an issue at https://github.com/boostorg/decimal with your architecture #endif // Determine endianness @@ -397,7 +397,7 @@ typedef unsigned __int128 builtin_uint128_t; #if ((defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__)) && (defined(__LONG_DOUBLE_IEEE128__) || LDBL_MANT_DIG == 113)) #define BOOST_DECIMAL_LDBL_IS_FLOAT128 -static_assert(std::is_same::value, "__float128 should be an alias to long double. Please open an issue at: https://github.com/cppalliance/decimal"); +static_assert(std::is_same::value, "__float128 should be an alias to long double. Please open an issue at: https://github.com/boostorg/decimal"); #endif diff --git a/index.html b/index.html index bcf887f64..a8e0ec08c 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,10 @@ - + Automatic redirection failed, please go to -doc/html/decimal.html. +doc/html/decimal.html.