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.

492 lines
13 KiB

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