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.

652 lines
17 KiB

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