COVERAGE SUMMARY
FILE SUMMARY
NameExecutedRoutines%ExecutedLines%Unexecuted
/home/matt/eu/rds/include/std/mathcons.e00100.00%2121100.00%0
ROUTINE SUMMARY
RoutineExecutedLinesUnexecuted
LINE COVERAGE DETAIL
#Executed
1
-- (c) Copyright - See License.txt
2
--
3
namespace mathcons
4
5
--****
6
-- == Math Constants
7
--
8
-- <>
9
--
10
11
--****
12
-- === Constants
13
--
14
15
public constant
16
--**
17
-- PI is the ratio of a circle's circumference to it's diameter.
18
--
19
-- PI = C / D :: C = PI * D :: C = PI * 2 * R(radius)
20101
PI = 3.14159_26535_89793_23846,
21
--**
22
-- Quarter of PI
23101
QUARTPI = 0.78539_81633_97448_30962,
24
--**
25
-- Half of PI
26101
HALFPI = 1.57079_63267_94896_61923,
27
--**
28
-- Two times PI
29101
TWOPI = 6.28318_53071_79586_47692,
30
--**
31
-- PI ^ 2
32101
PISQR = 9.86960_44010_89358_61883,
33
--**
34
-- 1 / (sqrt(2PI))
35101
INVSQ2PI = 0.39894_22804_01433_67794,
36
--**
37
-- phi => Golden Ratio = (1 + sqrt(5)) / 2
38101
PHI = 1.61803_39887_49894_84820,
39
--** Euler (e)
40
-- The base of the natural logarithm.
41101
E = 2.71828_18284_59045_23536,
42
--**
43
-- ln(2) :: 2 = power(E, LN2)
44101
LN2 = 0.69314_71805_59945_30941,
45
--**
46
-- 1 / (ln(2))
47101
INVLN2 = 1.44269_50408_88963_40736,
48
--**
49
-- ln(10) :: 10 = power(E, LN10)
50101
LN10 = 2.30258_50929_94045_68401,
51
--**
52
-- 1 / ln(10)
53101
INVLN10 = 0.43429_44819_03251_82765,
54
--**
55
-- sqrt(2)
56101
SQRT2 = 1.41421_35623_73095_04880,
57
--**
58
-- sqrt(2)/ 2
59101
HALFSQRT2 = 0.70710_67811_86547_52440,
60
--**
61
-- Square root of 3
62101
SQRT3 = 1.73205_08075_68877_29353,
63
--**
64
-- Conversion factor: Degrees to Radians = PI / 180
65101
DEGREES_TO_RADIANS = 0.01745_32925_19943_29576,
66
--**
67
-- Conversion factor: Radians to Degrees = 180 / PI
68101
RADIANS_TO_DEGREES = 57.29577_95130_82320_90712,
69
--**
70
-- Gamma (Euler Gamma)
71101
EULER_GAMMA = 0.57721_56649_01532_86061,
72
--**
73
-- sqrt(e)
74101
SQRTE = 1.64872_12707_00128_14684,
75
--**
76
-- Positive Infinity
77101
PINF = 1E308 * 1000,
78
--**
79
-- Negative Infinity
80101
MINF = - PINF
81