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.

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