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.

625 lines
16 KiB

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