-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.4.0-DEV-81899bf99e.log
187 lines (155 loc) · 7.27 KB
/
1.4.0-DEV-81899bf99e.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
Julia Version 1.4.0-DEV.634
Commit 81899bf99e (2019-12-18 10:13 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
Resolving package versions...
Installed Calculus ───────── v0.5.1
Installed OpenSpecFun_jll ── v0.5.3+1
Installed NaNMath ────────── v0.3.3
Installed Compat ─────────── v2.2.0
Installed HyperDualNumbers ─ v4.0.0
Installed SpecialFunctions ─ v0.9.0
Updating `~/.julia/environments/v1.4/Project.toml`
[50ceba7f] + HyperDualNumbers v4.0.0
Updating `~/.julia/environments/v1.4/Manifest.toml`
[49dc2e85] + Calculus v0.5.1
[34da2185] + Compat v2.2.0
[50ceba7f] + HyperDualNumbers v4.0.0
[77ba4419] + NaNMath v0.3.3
[efe28fd5] + OpenSpecFun_jll v0.5.3+1
[276daf66] + SpecialFunctions v0.9.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Testing HyperDualNumbers
Path `/home/pkgeval/.julia/packages/HyperDualNumbers/WeaTB` exists and looks like the correct package. Using existing path.
Installed Parsers ───────────── v0.3.10
Installed Literate ──────────── v2.2.1
Installed DocStringExtensions ─ v0.8.1
Installed JSON ──────────────── v0.21.0
Installed Documenter ────────── v0.24.3
Updating `/tmp/jl_XaUUeL/Project.toml`
[e30172f5] + Documenter v0.24.3
[50ceba7f] + HyperDualNumbers v4.0.0 [`~/.julia/packages/HyperDualNumbers/WeaTB`]
[98b081ad] + Literate v2.2.1
Updating `/tmp/jl_XaUUeL/Manifest.toml`
[ffbed154] + DocStringExtensions v0.8.1
[e30172f5] + Documenter v0.24.3
[50ceba7f] ~ HyperDualNumbers v4.0.0 ⇒ v4.0.0 [`~/.julia/packages/HyperDualNumbers/WeaTB`]
[682c06a0] + JSON v0.21.0
[98b081ad] + Literate v2.2.1
[69de0a69] + Parsers v0.3.10
Running sandbox
Status `/tmp/jl_XaUUeL/Project.toml`
[49dc2e85] Calculus v0.5.1
[34da2185] Compat v2.2.0
[e30172f5] Documenter v0.24.3
[50ceba7f] HyperDualNumbers v4.0.0 [`~/.julia/packages/HyperDualNumbers/WeaTB`]
[98b081ad] Literate v2.2.1
[77ba4419] NaNMath v0.3.3
[276daf66] SpecialFunctions v0.9.0
[37e2e46d] LinearAlgebra
[9a3f8284] Random
[8dfed614] Test
Running tests:
* test_basics.jl *
Examples of show() for hyperdual numbers with NaN:
hdNaN = NaN + 0.0ε₁ + 0.0ε₂ + 0.0ε₁ε₂
hdNaN + hd4 = NaN + 4.0ε₁ + 3.0ε₂ + 4.0ε₁ε₂
Testing includes Tim Holy's division performance improvement.
Testing includes ngedwin98's fixes for asin, acos and atan.
* test_TimHoly_example.jl *
8//25 - 8//5ε₁ - 8//5ε₂ + 144//25ε₁ε₂
* test_Paper_example.jl *
"THE" example
f(1.5) = 4.497780053946162
t0 = 1.5 + 1.0ε₁ + 1.0ε₂ + 0.0ε₁ε₂
t1 = 4.4816890703380645 + 4.4816890703380645ε₁ + 4.4816890703380645ε₂ + 4.4816890703380645ε₁ε₂
t2 = 0.9974949866040544 + 0.0707372016677029ε₁ + 0.0707372016677029ε₂ - 0.9974949866040544ε₁ε₂
t3 = 0.9925037693693152 + 0.21114975082386195ε₁ + 0.21114975082386195ε₂ - 2.947564004699509ε₁ε₂
t4 = 0.0707372016677029 - 0.9974949866040544ε₁ - 0.9974949866040544ε₂ - 0.0707372016677029ε₁ε₂
t5 = 0.000353951393082256 - 0.014973651704218029ε₁ - 0.014973651704218029ε₂ + 0.4212376474684772ε₁ε₂
t5a = 0.000353951393082256 - 0.014973651704218029ε₁ - 0.014973651704218029ε₂ + 0.4212376474684772ε₁ε₂
t6 = 0.9928577207623974 + 0.19617609911964393ε₁ + 0.19617609911964393ε₂ - 2.526326357231032ε₁ε₂
t7 = 1.0035903837494204 - 0.0991483686337086ε₁ - 0.0991483686337086ε₂ + 1.3062034995890381ε₁ε₂
t8 = 4.497780053946162 + 4.053427893898621ε₁ + 4.053427893898621ε₂ + 9.463073681596601ε₁ε₂
f(t0) = 4.497780053946161 + 4.05342789389862ε₁ + 4.05342789389862ε₂ + 9.463073681596601ε₁ε₂
* test_Erf_example.jl *
24.274806105338804 = 24.274806105338804
0.8416019755317149 = 0.8416019755317149
0.008545857737238424 = 0.00854585773723843
Test Erf Passed
* tests_for_coverage.jl *
Random examples of show() for hyperdual numbers:
h = 1.0 - 1.0ε₁ + 1.0ε₂ + 0.0ε₁ε₂
h = 1.0 - 1.0ε₁ + 0.0ε₂ + NaN*ε₁ε₂
h = -Inf + 1.0ε₁ + 1.0ε₂ + NaN*ε₁ε₂
h = 0.0 + NaN*ε₁ - 1.0ε₂ - Inf*ε₁ε₂
h = -Inf + 1.0ε₁ + NaN*ε₂ - 1.0ε₁ε₂
h = NaN + 1.0ε₁ - Inf*ε₂ - 1.0ε₁ε₂
h = -Inf + Inf*ε₁ + 1.0ε₂ + NaN*ε₁ε₂
h = -1.0 - 1.0ε₁ + 0.0ε₂ + 1.0ε₁ε₂
h = NaN + Inf*ε₁ + 1.0ε₂ - Inf*ε₁ε₂
h = 0.0 + NaN*ε₁ + NaN*ε₂ + Inf*ε₁ε₂
h = NaN + 0.0im + 1.0ε₁ + 1.0imε₁ - 1.0ε₂ - 1.0imε₂ + NaNε₁ε₂ + 0.0imε₁ε₂
h = -1.0 + 1.0im + 1.0ε₁ - 1.0imε₁ + 0.0ε₂ + 0.0imε₂ + 1.0ε₁ε₂ + 1.0imε₁ε₂
h = -Inf + 0.0im + 1.0ε₁ + 0.0imε₁ + NaNε₂ + 0.0imε₂ + 1.0ε₁ε₂ + 1.0imε₁ε₂
h = 1.0 - 1.0im + 1.0ε₁ + 0.0imε₁ - 1.0ε₂ - 1.0imε₂ + 1.0ε₁ε₂ + 0.0imε₁ε₂
h = -1.0 - 1.0im - 1.0ε₁ + 0.0imε₁ + 1.0ε₂ - 1.0imε₂ - 1.0ε₁ε₂ - 1.0imε₁ε₂
h = 1.0 + 0.0im + NaNε₁ + 0.0imε₁ - 1.0ε₂ + 1.0imε₂ + 1.0ε₁ε₂ + 0.0imε₁ε₂
h = 0.0 - 1.0im + 1.0ε₁ + 0.0imε₁ + NaNε₂ + 0.0imε₂ - 1.0ε₁ε₂ - 1.0imε₁ε₂
h = -1.0 + 1.0im - Infε₁ + 0.0imε₁ - 1.0ε₂ + 1.0imε₂ - 1.0ε₁ε₂ - 1.0imε₁ε₂
h = Inf + 0.0im + 0.0ε₁ - 1.0imε₁ - 1.0ε₂ + 1.0imε₂ + 0.0ε₁ε₂ - 1.0imε₁ε₂
h = 0.0 + 1.0im + 0.0ε₁ - 1.0imε₁ - 1.0ε₂ + 1.0imε₂ + 0.0ε₁ε₂ + 1.0imε₁ε₂
h = 1 + 0im + 1ε₁ + 0imε₁ + 1ε₂ + 0imε₂ + 0ε₁ε₂ + 0imε₁ε₂
h = 1 + 1im + 1ε₁ + 0imε₁ + 1ε₂ + 1imε₂ + 1ε₁ε₂ + 1imε₁ε₂
h = 0 + 1im + 1ε₁ + 1imε₁ + 1ε₂ + 0imε₂ + 1ε₁ε₂ + 1imε₁ε₂
h = 0 + 1im + 1ε₁ + 1imε₁ + 0ε₂ + 1imε₂ + 0ε₁ε₂ + 1imε₁ε₂
h = 0 + 1im + 1ε₁ + 0imε₁ + 1ε₂ + 0imε₂ + 1ε₁ε₂ + 0imε₁ε₂
h = 1 + 1im + 1ε₁ + 0imε₁ + 0ε₂ + 0imε₂ + 1ε₁ε₂ + 0imε₁ε₂
h = 1 + 1im + 0ε₁ + 1imε₁ + 0ε₂ + 1imε₂ + 1ε₁ε₂ + 1imε₁ε₂
h = 1 + 0im + 0ε₁ + 1imε₁ + 1ε₂ + 1imε₂ + 0ε₁ε₂ + 1imε₁ε₂
h = 0 + 1im + 1ε₁ + 0imε₁ + 1ε₂ + 1imε₂ + 0ε₁ε₂ + 1imε₁ε₂
h = 1 + 1im + 1ε₁ + 0imε₁ + 1ε₂ + 0imε₂ + 1ε₁ε₂ + 1imε₁ε₂
Examples of show() for special printing for boolean hyperdual numbers:
h = Hyper{Bool}(true,false,false,false)
h = ɛ₁
h = ɛ₂
h = ɛ₁ε₂
h = im
h = imɛ₁
h = imɛ₂
h = imε₁ɛ₂
* test_function_list.jl *
* tests_from_DualNumbers.jl *
Test Summary: | Pass Total
HyperDualNumbers.jl | 136488 136488
Tests finished
Testing HyperDualNumbers tests passed