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.

673 lines
17 KiB

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