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.

609 lines
16 KiB

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