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.

754 lines
19 KiB

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