Codebase list ntl / 69ed282
Imported Upstream version 9.9.1 Julien Puydt 7 years ago
8 changed file(s) with 27 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
0 NTL -- a library for doing numbery theory -- version 9.9.0
1 Release date: 2016.05.30
0 NTL -- a library for doing numbery theory -- version 9.9.1
1 Release date: 2016.06.02
22
33 Author: Victor Shoup (victor@shoup.net)
44
1515 </p>
1616 </h1>
1717
18
19 <p><hr><p>
20 <h3>
21 2016.06.02: Changes between NTL 9.9.0 and 9.9.1
22 </h3>
23
24 <ul>
25 <li>
26 Fixed a bug in <tt>NTL_EXEC_INDEX</tt> (actually, in
27 <tt>BasicThreadPool::relaxed_exec_index</tt>)
28 that would cause an error to be incorrectly raised in some
29 situations
30 <li>
31 Fine tuned some crossover points
32 </ul>
1833
1934 <p><hr><p>
2035 <h3>
515515 {
516516 if (cnt <= 0) return;
517517 if (!pool || pool->active()) {
518 if (cnt > 0) LogicError("friendly_exec_index: not enough threads");
518 if (cnt > 1) LogicError("relaxed_exec_index: not enough threads");
519519 fct(0);
520520 }
521521 else {
11 #ifndef NTL_version__H
22 #define NTL_version__H
33
4 #define NTL_VERSION "9.9.0"
4 #define NTL_VERSION "9.9.1"
55
66 #define NTL_MAJOR_VERSION (9)
77 #define NTL_MINOR_VERSION (9)
8 #define NTL_REVISION (0)
8 #define NTL_REVISION (1)
99
1010 #endif
1111
0 ntl-9.9.0
0 ntl-9.9.1
0 26:0:0
0 27:0:0
0 WinNTL-9_9_0
0 WinNTL-9_9_1
51365136 }
51375137 #endif
51385138
5139 if (n >= 32 && n <= 256) {
5139 if (0) {
5140 // this no longer seems to be useful
5141
51405142 UniqueArray<long> q;
51415143 long i, j;
51425144 long levels, vec_len;
52365238 }
52375239
52385240
5239 if (n >= 32) {
5241 if (n > 800) {
52405242 UniqueArray<long> q;
52415243 long i, j;
52425244 long levels, vec_len;