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.

561 lines
15 KiB

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