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.

479 lines
13 KiB

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