You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

525 lines
14 KiB

24 years ago
24 years ago
24 years ago
24 years ago
25 years ago
  1. 2001-xx-xx, version 1.1.1
  2. =========================
  3. Implementation changes
  4. ----------------------
  5. * Minor cleanup for GCC 3.0.
  6. 2000-12-14, version 1.1.0
  7. =========================
  8. Functional changes
  9. ------------------
  10. * ISO/IEC 14882 fashion adjustments:
  11. Put everything into namespace cln. All fundamental data types still
  12. carry their old names. Other non-macro identifiers are now written as
  13. cln::foo instead of cl_foo, except where the cl_ comes from a data type
  14. (as in cl_I_to_int()). Headers are installed into a separate
  15. directory, #include <cln/foo.h> instead of <cl_foo.h>. Applications
  16. must be manually ported to the new style. We apologize for the
  17. inconvenience.
  18. Implementation changes
  19. ----------------------
  20. * Removed internal copy of mpn subdirectory tree from libgmp-2.0.2.
  21. Configuring with --with-gmp now relies on an installed libgmp library
  22. version 3 or above. We recommend libgmp-3.1 or newer.
  23. * Adjusted several break-even points to make better use of a faster libgmp and
  24. better match present-day CPUs.
  25. * Fix several errors for architectures with 64-bit wide words.
  26. (Others than Alpha, which worked already.)
  27. * Fix compilation errors with current GCC-3.0 snapshots.
  28. Other changes
  29. -------------
  30. * Added package tools: script cln-config and autoconf macro AC_PATH_CLN
  31. (in file cln.m4).
  32. 2000-01-13, version 1.0.3
  33. =========================
  34. Functional changes
  35. ------------------
  36. * New function
  37. `cl_I doublefactorial (uintL n)'.
  38. Implementation changes
  39. ----------------------
  40. * Fix several little configuration errors.
  41. * Fix some compilation errors with gcc-2.96 prereleases.
  42. 1999-09-07, version 1.0.2
  43. =========================
  44. Functional changes
  45. ------------------
  46. * New functions
  47. `cl_I numerator (const cl_RA&)'
  48. `cl_I denominator (const cl_RA&)'.
  49. Suggested by Richard Kreckel and Sylvain Pion.
  50. * New function `cl_equal_hashcode' for the classes cl_N, cl_R, cl_RA, cl_I,
  51. cl_F, cl_SF, cl_FF, cl_DF, cl_LF.
  52. Suggested by Richard Kreckel.
  53. Implementation changes
  54. ----------------------
  55. * Fix an endless loop when either of the functions
  56. `cl_boolean rootp (const cl_RA&, uintL, cl_RA*)',
  57. `cl_boolean rootp (const cl_RA&, const cl_I&, cl_RA*)'
  58. was called with an integer argument. Thanks to Richard Kreckel.
  59. * Fix a bug in the addition and subtraction of rational numbers which could
  60. cause unnormalized rational numbers like 3/1 to be created.
  61. 1999-06-09, version 1.0.1
  62. =========================
  63. Algorithmic changes
  64. -------------------
  65. * Speed up the functions `logand', `lognand', `logandc2'.
  66. Implementation changes
  67. ----------------------
  68. * Fix compilation errors with gcc-2.7.2, egcs-1.1.2 and gcc-2.95.
  69. * Fix compilation errors on HPPA, MIPS, some versions of DEC Alpha, OpenBSD,
  70. and SPARC with LiDIA.
  71. * Fix compilation errors on Win32. Thanks to Mumit Khan.
  72. 1999-01-12, version 1.0
  73. =======================
  74. Functional changes
  75. ------------------
  76. * New include files, containing I/O functions:
  77. <cl_integer_io.h>
  78. <cl_rational_io.h>
  79. <cl_float_io.h>
  80. <cl_sfloat_io.h> <cl_ffloat_io.h> <cl_dfloat_io.h> <cl_lfloat_io.h>
  81. <cl_real_io.h>
  82. <cl_complex_io.h>
  83. The file <cl_io.h> now contains only I/O functions for characters and
  84. C integers.
  85. * To access the base ring of a univariate polynomial ring, now use
  86. `R->basering()' instead of `R->basering'.
  87. * Implement `plusp', `max', `min' for the classes cl_F, cl_SF, cl_FF, cl_DF,
  88. cl_LF, cl_RA, cl_I.
  89. * Implement `abs' for the class cl_RA.
  90. * Replaced `read_number' with specialized functions `read_complex',
  91. `read_real', `read_float', `read_rational', `read_integer'.
  92. * Replaced the functions
  93. `void fprint (cl_ostream stream, int x)'
  94. `void fprint (cl_ostream stream, unsigned int x)'
  95. `void fprint (cl_ostream stream, long x)'
  96. `void fprint (cl_ostream stream, unsigned long x)'
  97. with
  98. `void fprintdecimal (cl_ostream stream, int x)'
  99. `void fprintdecimal (cl_ostream stream, unsigned int x)'
  100. `void fprintdecimal (cl_ostream stream, long x)'
  101. `void fprintdecimal (cl_ostream stream, unsigned long x)'
  102. Algorithmic changes
  103. -------------------
  104. * The function `cl_I xgcd (const cl_I& a, const cl_I& b, cl_I* u, cl_I* v)'
  105. now normalizes the resulting u and v to be of minimum absolute value.
  106. (Suggested by the LiDIA group.)
  107. * The conversion from string to cl_F, cl_R, cl_N now chooses the format of
  108. the resulting float depending on the number of significant digits present
  109. in the input string.
  110. * Speed up the functions
  111. `cl_R operator* (const cl_RA&, const cl_LF&)'
  112. `cl_R operator* (const cl_LF&, const cl_RA&)'
  113. `cl_R operator/ (const cl_RA&, const cl_LF&)'
  114. `cl_LF operator/ (const cl_LF&, const cl_RA&)'
  115. Implementation changes
  116. ----------------------
  117. * Fix for `cl_I ash (const cl_I& x, const cl_I& n)' when |n| is between
  118. 2^29 and 2^37.
  119. (Reported by Thomas Papanikolaou.)
  120. * Fixed a memory leak in the long-float truncate function.
  121. (Reported by Keith Briggs.)
  122. * Fixed a memory leak in the modular integer exponentiation.
  123. * Reduced the stack space consumption. The default stack size (typically
  124. 8 MB on Unix) should now be sufficient in order to run all CLN programs.
  125. * Portability fixes for m68k platforms.
  126. (Reported and fixed by Roman Hodek.)
  127. Other changes
  128. -------------
  129. * Restructured the sources. The subpackages
  130. - base
  131. - base + integer
  132. - base + integer + rational
  133. - base + integer + rational + float
  134. - base + integer + rational + float + real
  135. - base + integer + rational + float + real + complex
  136. - base + integer + modinteger
  137. are now self-contained.
  138. * The configuration script can be called with option `--enable-shared',
  139. to build CLN as a shared library.
  140. * Updated the LiDIA interface.
  141. 1998-05-07, version 0.98
  142. ========================
  143. Implementation changes
  144. ----------------------
  145. * Portability fixes for 64-bit platforms like DEC Alpha.
  146. (Reported by John Cremona and Thomas Papanikolaou.)
  147. 1998-02-27
  148. ==========
  149. Other changes
  150. -------------
  151. * Portability fixes for new ISO/ANSI C++ compilers.
  152. * Updated the LiDIA interface for LiDIA version 1.3 and fixed a couple of
  153. bugs.
  154. 1997-09-06
  155. ==========
  156. Implementation changes
  157. ----------------------
  158. * Portability fix for i686 platforms.
  159. (Reported by Michael Pfeifer.)
  160. 1997-09-01
  161. ==========
  162. Functional changes
  163. ------------------
  164. * New include files:
  165. <cl_ring.h>, declaring general rings,
  166. <cl_GV.h>, <cl_SV.h>, defining vectors,
  167. <cl_univpoly.h>, defining univariate polynomial rings.
  168. Algorithmic changes
  169. -------------------
  170. * Speed up the internal computation of ln(2) and ln(10) by about 20%.
  171. * Speed up the computation of exp (for 1000 digits or more) by about 10%.
  172. Implementation changes
  173. ----------------------
  174. * Portability fix for 64-bit platforms like DEC Alpha:
  175. Fixed a bug: endless loop in `sqrt' for large precision.
  176. (Reported by Blake Jones.)
  177. * Portability fix for RS/6000 platforms.
  178. 1997-02-21
  179. ==========
  180. Algorithmic changes
  181. -------------------
  182. * Speed up the computation of the elementary transcendental functions:
  183. exp, sinh, cosh, asinh, atanh (for 100 digits) by about 30%,
  184. log (for 100 digits) by about 25%,
  185. sin, cos (for 1000 or 10000 digits) by about 20%,
  186. asin, acos, atan (for 1000 digits) by about 25%.
  187. Implementation changes
  188. ----------------------
  189. * Portability fix for SunOS 4 and other BSD platforms.
  190. 1997-01-31
  191. ==========
  192. Algorithmic changes
  193. -------------------
  194. * Fixed a bug: endless recursion in `cl_boolean sqrtp (const cl_RA&, cl_RA*)'.
  195. * Fixed a bug: Only the first 85% of the digits returned by `cl_eulerconst'
  196. for moderate precision (< 11370 digits) were correct.
  197. (Reported by Thomas Papanikolaou.)
  198. Implementation changes
  199. ----------------------
  200. * Fix static initialization order bug. Requires g++ 2.7.0 or newer
  201. (g++ 2.8.0 or newer on HPPA).
  202. * New method `debug_print()', for pretty printing of CLN objects, intended
  203. to be called from the debugger.
  204. 1997-01-07
  205. ==========
  206. Functional changes
  207. ------------------
  208. * New functions `float cl_float_approx (const cl_R&)',
  209. `double cl_double_approx (const cl_R&)'
  210. for converting a real number to a C `float' or `double'.
  211. Algorithmic changes
  212. -------------------
  213. * Speed up `cl_zeta' using Cohen-Villegas-Zagier convergence acceleration.
  214. Implementation changes
  215. ----------------------
  216. * New function `cl_print', for pretty printing of CLN objects, intended to be
  217. called from the debugger.
  218. * Portability fixes for 64-bit platforms like DEC Alpha.
  219. 1996-11-29
  220. ==========
  221. Functional changes
  222. ------------------
  223. * New include files:
  224. <cl_string.h>, defining strings,
  225. <cl_symbol.h>, defining symbols,
  226. <cl_proplist.h>, defining property lists,
  227. <cl_condition.h>, defining conditions/exceptions.
  228. * New functions `cl_F cl_catalanconst ()',
  229. `cl_F cl_catalanconst (const cl_F&)',
  230. `cl_F cl_catalanconst (cl_float_format_t)'
  231. which return Catalan's constant.
  232. (Suggested by Thomas Papanikolaou.)
  233. * New functions `cl_F cl_zeta (int s)',
  234. `cl_F cl_zeta (int s, const cl_F&)',
  235. `cl_F cl_zeta (int s, cl_float_format_t)'
  236. which return the Riemann zeta function at an integral point s>1.
  237. * New functions `cl_F cl_exp1 ()',
  238. `cl_F cl_exp1 (const cl_F&)',
  239. `cl_F cl_exp1 (cl_float_format_t)'
  240. which return e = exp(1).
  241. * New function `cl_I binomial (uintL n, uintL k)' which returns the
  242. binomial coefficient (n choose k).
  243. * New functions `int cl_I_to_int (const cl_I&)',
  244. `unsigned int cl_I_to_uint (const cl_I&)',
  245. `long cl_I_to_long (const cl_I&)',
  246. `unsigned long cl_I_to_ulong (const cl_I&)'
  247. for converting an integer to a C `int' or `long'.
  248. * New functions `float cl_float_approx (const cl_I&)',
  249. `float cl_float_approx (const cl_RA&)',
  250. `double cl_double_approx (const cl_I&)',
  251. `double cl_double_approx (const cl_RA&)'
  252. for converting a rational number to a C `float' or `double'.
  253. Implementation changes
  254. ----------------------
  255. * Moved the sources to subdirectories.
  256. (Suggested by J�rg Arndt.)
  257. Other changes
  258. -------------
  259. * New benchmark for better comparing LiDIA, Pari and CLN.
  260. * Added an interface to LiDIA, allows using CLN as a replacement of libI.
  261. (Suggested by Thomas Papanikolaou.)
  262. * Added an ILOG Talk interface, for interactive use of the library.
  263. 1996-10-13
  264. ==========
  265. Functional changes
  266. ------------------
  267. * New include file <cl_modinteger.h>, defining modular integer rings.
  268. * New functions `cl_F cl_eulerconst ()', `cl_F cl_eulerconst (const cl_F&)',
  269. `cl_F cl_eulerconst (cl_float_format_t)' which return Euler's constant.
  270. Algorithmic changes
  271. -------------------
  272. * Speed up square root of large numbers by use of Newton's algorithm.
  273. * Speed up multiplication and division of large long-floats by small integers.
  274. * Speed up the computation of pi, e, exp, log, sin, cos, tan, sinh, cosh, tanh,
  275. asin, acos, atan, asinh, acosh, atanh.
  276. All of them are now computed with asymptotically fast algorithms, of
  277. bit complexity O(log(N)^2*M(N)) = O(N^(1+epsilon)) for N digits.
  278. * Fixed several bugs in the transcendental functions routines. In particular,
  279. the `log' function went into an endless loop.
  280. * Fixed a bug: The cl_I -> cl_DF and cl_I -> cl_LF conversions didn't work
  281. correctly for negative integers.
  282. 1996-09-08
  283. ==========
  284. Functional changes
  285. ------------------
  286. * New include file <cl_numtheory.h>, containing number theoretic functions,
  287. for now only the Jacobi symbol.
  288. Algorithmic changes
  289. -------------------
  290. * Speed up squaring of large numbers by 30%.
  291. * Speed up division of large numbers by use of Newton's algorithm. The
  292. improvement is noticeable for numbers with at least about 1000 words =
  293. 32000 bits = 10000 decimal digits.
  294. * Speed up the binary-to-decimal conversion of large numbers by use of
  295. a divide-and-conquer method. The improvement is noticeable for numbers
  296. of at least 1250 words = 40000 bits = 12000 decimal digits.
  297. * Fixed a bug: The functions `cl_boolean minusp (const type&)' and
  298. `cl_boolean zerop (const type&)' were missing for type=cl_I and type=cl_RA.
  299. * Fixed a bug: The function `cl_boolean logtest (const cl_I&, const cl_I&)'
  300. didn't work correctly if both arguments were bignums.
  301. * Fixed a bug: The function `cl_I mod (const cl_I&, const cl_I&)', when called
  302. as `mod(-n*m,m)' (n>0), returned m instead of 0.
  303. * Fixed a bug: The function `uintL power2p (const cl_I&)' returned wrong
  304. values for arguments x = 2^n, n >= 29.
  305. Implementation changes
  306. ----------------------
  307. * Speed up CLN by using the low-level addition/subtraction, shift and
  308. multiplication loops from GNU gmp-2.0.2.
  309. * Fixed a severe reference counting bug in the constructors
  310. `type::type (const long)' and `type::type (const unsigned long)'
  311. for type=cl_number, type=cl_N, type=cl_RA, type=cl_I that most often
  312. caused a core dump.
  313. * CLN's word sequences can be chosen to be stored big-endian in memory
  314. (like it was up to now) or little-endian (needed for interfacing to GMP).
  315. 1996-05-20
  316. ==========
  317. Functional changes
  318. ------------------
  319. * New include file <cl_timing.h>, contains timing facilities.
  320. Algorithmic changes
  321. -------------------
  322. * Speed up the multiplication of large numbers by use of an FFT based
  323. algorithm (Sch�nhage-Strassen). The improvement is noticeable when both
  324. factors have at least 1250 words = 40000 bits = 12000 decimal digits.
  325. * Speed up the functions `cl_I gcd (const cl_I&, const cl_I&)' and
  326. `cl_I xgcd (const cl_I&, const cl_I&, cl_I*, cl_I*)' by a factor
  327. of 1.5. Simple trick.
  328. * Speed up the function `cl_boolean sqrtp (const cl_I&, cl_I*)' using a
  329. trick from Henri Cohen.
  330. * Fixed an endless loop in the function `uint32 gcd (uint32, uint32)'
  331. which occurred when one of the arguments is zero.
  332. * Fixed an endless loop in the function `cl_I factorial (uintL)'.
  333. Implementation changes
  334. ----------------------
  335. * <cl_io.h> now uses iostreams by default instead of stdio FILE pointers.
  336. (Reported by Tito Flagella.)
  337. * Fixed linking error when compiling without -O.
  338. (Reported by Tito Flagella.)
  339. * Fixed syntax error in <cl_input.h>.
  340. (Reported by Tito Flagella.)
  341. * Fixed syntax errors in src/cl_DS.h and src/cl_FF_plus.h.
  342. (Reported by Marcus Daniels.)
  343. * More portability fixes.
  344. * Configuration now supports the --srcdir option.
  345. (Reported by Marcus Daniels.)
  346. 1996-01-03
  347. ==========
  348. * Compiles well on Sparc, using gcc.
  349. * Mail to beta testers.
  350. 1995-12-06
  351. ==========
  352. * Compiles well on Linux, using gcc.