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.

595 lines
16 KiB

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