/** Various fundamental constants. Physical constants are given in SI units. Authors: Lars Tandle Kyllingstad Copyright: Copyright (c) 2010, Lars T. Kyllingstad. All rights reserved. License: Boost License 1.0 Macros: SUB = <sub>$0</sub> */ module scid.constants; // ==================== PHYSICAL CONSTANTS ==================== /// Boltzmann constant, $(I k$(SUB B)) [J/K] enum real boltzmannConstant = 1.38064_88e-23L; /// Planck constant, ℎ [J s] enum real planckConstant = 6.62606_896e-34L; /// Reduced Planck constant, ℏ ≡ ℎ/2π [J s] enum real hBar = 1.05457_1628e-34L; // ==================== MATHEMATICAL CONSTANTS ==================== /// Pi squared, π² enum real piSquared = 0x9.de9e64df22ef2d2p+0L; /// Two times pi, 2π enum real twoPi = 0xc.90fdaa22168c235p-1L; /// Euler-Mascheroni constant, γ enum real eulerGamma = 0x9.3c467e37db0c7a5p-4L;