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.

509 lines
14 KiB

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