Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

from datetime import datetime

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'NumPy QuadDType'
copyright = '2025, NumPy Community'
author = 'NumPy Community'
release = '0.2.0'
version = '0.2.0'
year = datetime.now().year
copyright = f'2024-{year}, NumPy Developers'
author = 'Written by the NumPy community'
release = '1.0.0'
version = '1.0.0'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ Standard double precision (float64) provides approximately 15-16 significant dec
- **Financial Calculations**: High-precision arithmetic for regulatory compliance
- **Validation**: Checking accuracy of lower-precision implementations

Additionally, NumPy's existing `np.longdouble` or `np.float128` (alias for `np.longdouble`) suffers from cross-platform inconsistency: it is 64-bit on Windows and macOS, 80-bit on Linux x86, and varies on other architectures. NumPy QuadDType solves this by providing **true IEEE 754 quadruple precision (128-bit)** consistently across all platforms.

For more details on the motivation and technical implementation, see the [Quansight Labs blog post](https://labs.quansight.org/blog/numpy-quaddtype-blog).

```{toctree}
:maxdepth: 2
:hidden:
Expand Down
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
project('numpy_quaddtype', 'c', 'cpp', default_options : ['cpp_std=c++20', 'b_pie=true'])
project('numpy_quaddtype', 'c', 'cpp',
default_options : ['cpp_std=c++20', 'b_pie=true'],
meson_version: '>=1.1')

py_mod = import('python')
py = py_mod.find_installation()
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ readme = 'README.md'
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [{name = "Swayam Singh", email = "singhswayam008@gmail.com"}]
maintainers = [{name = "NumPy Developers", email = "numpy-discussion@python.org"}]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
2 changes: 1 addition & 1 deletion subprojects/packagefiles/qblas/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('qblas', version: '1.0.0')
project('qblas', meson_version: '>=1.1')

qblas_inc = include_directories('include')

Expand Down
2 changes: 1 addition & 1 deletion subprojects/packagefiles/sleef/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('sleef')
project('sleef', meson_version: '>=1.1')

cmake = find_program('cmake')
ninja = find_program('ninja', 'make', required: false)
Expand Down
Loading