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.

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