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.

527 lines
14 KiB

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