Learn R Programming

cwhmisc (version 4.0)

Const: Constants

Description

Elementary constants and 'GreatestIntAsRealF': determination of the greatest integer K which is distiguishable from (K+1), both represented as real

Arguments

Details

cE = 2.718281828459045235 ## e cLOG2E = 1.442695040888963407 ## log(basis 2) of e cLOG10E = 0.4342944819032518277 ## log(basis 10) of e cLN2 = 0.6931471805599453094 ## log(basis e) of 2 LN10 = 2.302585092994045684 ## log(basis e) of 10 c2PI = 6.283185307179586477 ## 2pi cPIBY2 = 1.570796326794896619 ## pi/2 cPIBY4 = 0.7853981633974483096 ## pi/4 c1BYPI = 0.3183098861837906715 ## 1/pi c2BYPI = 0.6366197723675813431 ## 2/pi c1BYSQRTPI = 0.5641895835477562869 ## 1/sqrt(pi) c2BYSQRTPI = 1.12837917095512574 ## 2/sqrt(pi) cSQRT2 = 1.414213562373095049 ## sqrt(2) cSQRT2BY2 = 0.7071067811865475244 ## sqrt(2)/2 cMAXREALBY3Q = .Machine$double.xmax^0.75 cMAXREALBY38 = sqrt(cMAXREALBY3Q) GreatestIntAsRealF Greatest integer K which is distiguishable from (K+1), both represented as real ASCII = ASCII characters corresponding to (0), 1..256 HexDig = '1' - '9', 'A' - 'F' spacC = " ", is extra space in indexLine and charMat PRIMES The first 115 primes