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.

550 lines
15 KiB

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