1.2 KiB
1.2 KiB
[math.constants]
29 Numerics library [numerics]
29.8 Numbers [numbers]
29.8.2 Mathematical constants [math.constants]
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.
Pursuant to [namespace.std], a program may partially or explicitly specialize a mathematical constant variable template provided that the specialization depends on a program-defined type.
A program that instantiates a primary template of a mathematical constant variable template is ill-formed.