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.

588 lines
15 KiB

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