The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Math constants



IdentifierValueDescription
uc_e2.718281828459045235360Euler's number e
uc_etom10.3678794411714423215961/e
uc_lg20.301029995663981195214common logarithm of 2
uc_lg50.698970004336018804803common logarithm of 5
uc_lge0.434294481903251827651common logarithm of e
uc_lgPi0.497149872694133854351common logarithm of Pi
uc_ln102.302585092994045684018natural logarithm of 10
uc_ln20.693147180559945309417natural logarithm of 2
uc_lnMaxInt6443.668272375276554493177natural logarithm of 263-1
uc_lnPi1.144729885849400174143natural logarithm of Pi
uc_PiH1.570796326794896619231Pi/2
uc_PiSqr9.869604401089358618834Pi*Pi
uc_Pitom10.3183098861837906715381/Pi
uc_sqrt21.414213562373095048802square root of 2
uc_sqrt2pi2.506628274631000502416square root of 2*Pi
uc_sqrt2pitom10.39894228040143267793991/(square root of 2*Pi)
uc_GoldenR1.618033988749894848205golden ratio
uc_MaxReal1.7e38maximum real number
uc_MaxSingle3.4e38maximum single number
uc_MaxDouble1.7e308maximum double number
uc_MaxExtended1.1e4932maximum extended number
uc_MaxInt649223372036854775807maximum Int64 number (263-1)
uc_MinReal2.9e-39minimum real number
uc_MinSingle1.5e-45minimum single number
uc_MinDouble5.0e-324minimum double number
uc_MinExtended3.6e-4951minimum extended number
uc_lnMinReal -88.7361078897753533335logarithm of minimum real number
uc_lnMinSingle -103.210864076623891398logarithm of minimum single number
uc_lnMinDouble -744.428132217636701247logarithm of minimum double number
uc_lnMinExtended -11398.8178615680581172logarithm of minimum extended number
uc_lnMaxReal 88.0288617848359063889logarithm of maximum real number
uc_lnMaxSingle 88.7220089653958516983logarithm of maximum single number
uc_lnMaxDouble 709.726836893228241073logarithm of maximum double number
uc_lnMaxExtended 11356.4449888264376384logarithm of maximum extended number
uc_LnFactorialarray[0..1000] of doublearray of natural logarithms of factorials of 0 to 1000


Last Update: 2023-Feb-06