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.

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