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.

570 lines
15 KiB

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