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.

506 lines
14 KiB

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