This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
[math.constants]
# 29 Numerics library [[numerics]](./#numerics)
## 29.8 Numbers [[numbers]](numbers#math.constants)
### 29.8.2 Mathematical constants [math.constants]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L10887)
The library-defined partial specializations
of mathematical constant variable templates
are initialized with the nearest representable values ofe,log2e,log10e,π,1π,1√π,ln2,ln10,√2,√3,1√3,
the Euler-Mascheroni γ constant, and
the golden ratio φ constant 1+√52,
respectively[.](#1.sentence-1)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L10906)
Pursuant to [[namespace.std]](namespace.std "16.4.5.2.1Namespace std"),
a program may partially or explicitly specialize
a mathematical constant variable template
provided that the specialization depends on a program-defined type[.](#2.sentence-1)
[3](#3)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L10912)
A program that instantiates a primary template
of a mathematical constant variable template is ill-formed[.](#3.sentence-1)