1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423
|
2006-08-08 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.13 released.
2006-08-07 Richard B. Kreckel <kreckel@ginac.de>
* Apply patch for autoconf-2.60:
2006-04-19 Bruno Haible <bruno@clisp.org>
* m4/general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit()
declaration.
* m4/longdouble.m4 (CL_LONGDOUBLE): Likewise.
* m4/longlong.m4 (CL_LONGLONG): Likewise.
* m4/times.m4 (CL_TIMES_CLOCK): Likewise.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.12 released.
2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
* configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
* Apply patch for autoconf-2.60:
2006-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in (datarootdir): New variable.
* src/Makefile.in (datarootdir): New variable.
* doc/Makefile.in (datarootdir): New variable.
2006-08-04 Sheplyakov Alexei <varg@theor.jinr.ru>
* configure.ac: Disable shared lib on MinGW.
2006-08-03 Sheplyakov Alexei <varg@theor.jinr.ru>
* m4/param.m4: Add support for MinGW.
* src/base/random/cl_random_from.cc: Fix for last patch.
2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
* src/base/random/cl_random_from.cc: Add support for MinGW.
2006-06-14 Richard B. Kreckel <kreckel@ginac.de>
* src/float/output/cl_F_dprint.cc (decode_float_decimal): Fix rare
assertion for quite large numbers (cl_LF binary exponent >~ 4.8E8).
2006-05-20 Bruno Haible <bruno@clisp.org>
* src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
Unix platforms.
2006-05-07 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
2006-04-22 Richard B. Kreckel <kreckel@ginac.de>
* Apply patch for x86_64 from mainline:
2005-12-02 Bruno Haible <bruno@clisp.org>
* src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction,
since mulq doesn't accept immediate arguments.
2005-12-17 Richard B. Kreckel <kreckel@ginac.de>
* Branched cln_1-1. This is the maintenance branch. It is for
low-impact patches. The main branch will eventually become CLN 1.2.0.
2005-12-15 Dmitry V. Kustov <kustov@telex221.ru>
* src/base/random/cl_random_from.cc: Add support for OpenBSD.
2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.11 released.
2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/conv/cl_I_cached_power.h: New file.
* src/integer/conv/cl_I_cached_power.cc: New file.
Contains power_table and cached_power_table previously...
* src/integer/conv/cl_I_to_digits.cc: ...here.
* src/integer/conv/cl_I_from_digits.cc: Use cached powers.
2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
non-power-of-two base much faster.
* tests/test_I_io.cc: New file...
* tests/Makefile.in, tests/test_I.cc: ...used here.
2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.10 released.
2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
* src/Makefile.in: Accept CPPFLAGS from environment.
* examples/Makefile.in: Likewise.
* benchmarks/Makefile.in: Likewise.
* tests/Makefile.in: Likewise.
2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
duplication of basic blocks on m68k.
2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
2005-08-27 Bruno Haible <bruno@clisp.org>
Split aclocal.m4 into individual files.
* m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
* m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
* m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
* m4/proto.m4, m4/rusage.m4, m4/times.m4:
New files, extracted from autoconf/aclocal.m4.
* autoconf/aclocal.m4: m4_include them.
* Makefile.devel (AUTOCONF_MACROS): New variable.
(configure): Depend on it.
(CLISP_M4DIR): Remove variable.
(autoconf/aclocal.m4): Remove rule.
2005-08-27 Bruno Haible <bruno@clisp.org>
* src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
zero value by more than 31 bits.
2005-08-27 Bruno Haible <bruno@clisp.org>
Make the long-float overflow check work on 64-bit platforms.
* src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
'unsigned int', not 'unsigned long'.
2005-08-27 Bruno Haible <bruno@clisp.org>
* include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
duplication of basic blocks by g++ 4.0.
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
2005-08-27 Bruno Haible <bruno@clisp.org>
Make it possible to cross-compile CLN.
* m4/intparam.m4: New file.
* m4/floatparam.m4: New file.
* autoconf/aclocal.m4: Include both.
(CL_MACHINE): Add an additional CROSS_MACRO parameter.
* configure.ac (CL_MACHINE): When cross-compiling, use
CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
2005-08-27 Bruno Haible <bruno@clisp.org>
Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
* autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
compiling, use the test code from gnulib.
2005-08-27 Bruno Haible <bruno@clisp.org>
* autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
The patch of 2005-05-01 made it impossible to test the type of a cl_UP
by comparing with &cl_class_univpoly_ring. We need an alternative:
* include/cln/object.h (cl_class_flags_modint_ring): New #define...
* src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
* src/polynomial/elem/cl_UP_GF2.h: Likewise.
* src/polynomial/elem/cl_UP_MI.h: Likewise.
* src/polynomial/elem/cl_UP_gen.h: Likewise.
* src/polynomial/elem/cl_UP_number.h: Likewise.
2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
* m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
* configure.ac: ...used here for setting ASMFLAGS...
* src/Makefile.in: ...which are used here.
2005-08-02 Andreas Jochens <aj@andaco.de>
* include/cln/config.h.in: Add support for PowerPC 64 CPU.
* include/cln/modules.h: Likewise.
* include/cln/object.h: Likewise.
* include/cln/types.h: Likewise.
2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
Make out of the box build on x86_64 system with complete 32 bit
userland possible
* include/cln/config.h.in: Don't #define __x86_64__ when
__i386__ is defined.
* src/base/digitseq/cl_asm_x86_64_.cc: New file.
* doc/cln.tex: Revert workaround description introduced 2005-05-02.
2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in: Don't enter nonexisting directories.
2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Speed up the linking step
* src/Makefile.in: Use -objectlist for linking libcln.la.
2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
* autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
* m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
* doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
userland.
2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
Fix crashes in find_univpoly_ring and related functions
* include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
remove declaration of cl_class cl_class_modint_ring.
* include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
remove declaration of cl_class_univpoly_ring.
* include/cln/object.h: cl_class_flags_modint_ring: New #define...
* src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
* src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
* src/modinteger/cl_MI_fix29.h: Likewise.
* src/modinteger/cl_MI_fix32.h: Likewise.
* src/modinteger/cl_MI_int32.h: Likewise.
* src/modinteger/cl_MI_montgom.h: Likewise.
* src/modinteger/cl_MI_pow2: Likewise.
* src/modinteger/cl_MI_pow2m1.h: Likewise.
* src/modinteger/cl_MI_pow2p1.h: Likewise.
* src/modinteger/cl_MI_std.h: Likewise.
* src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
cl_class_flags_modint_ring, not with cl_class_modint_ring.
* src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
* src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
* src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
* src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
Reported by Ralf Goertz <R_Goertz@web.de>.
2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
Make GCC compiler flags default to -O
* m4/cc.m4: New file...
* configure.ac: ...used here.
* autoconf/aclocal.m4: Regenerate.
2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* include/cln/string.h: Declare cl_string.
2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
* autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
* m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
* autoconf/aclocal.m4: Regenerate.
2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/Makefile.in: Use $CXX instead of $CC when linking.
2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
* examples/perfnum.cc: update to presumed 42st Mersenne prime.
2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
Disambiguate binary operators of CLN types with float/double
* include/cln/dfloat.h: Add binary operator overloads for arguments of
type double.
* include/cln/ffloat.h: Likewise, for arguments of type float.
* include/cln/float.h: Likewise, both for arguments of types double and
float.
* include/cln/real.h: Likewise.
Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.9 released.
2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/Makefile.in: Let config.status set LDFLAGS.
2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
* cln.pc.in: Fix typo.
* Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
cln-config. Allows us to do special things to binaries, like
installing them with install -s.
* doc/Makefile.in: add/remove the cln.info from the installed
$(infodir)/dir unless this is debian install-info (code copied from
what GNU automake would produce).
2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
that caused radix specifiers to not work when reading from a stream.
* src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
* src/real/input/cl_R_read_stream.cc (read_real): Likewise.
* src/float/input/cl_F_read_stream.cc (read_float): Likewise.
* src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
* src/base/cl_low.h: Add mulu64 assembler macro for ia64.
2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
* src/base/cl_low.h: Add mul and div macros for x86_64.
2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
new code for base power of two.
2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
overwriting problem. That was the real cause for Debian bug#246319.
* src/integer/output/cl_I_print.cc (print_integer): Revert workaround
for the bug fixed above.
2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/types.h: Use 64 bit digits on x86_64 CPU.
2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
the base is a power of two.
2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
Support for little-endian Mips, second shot
* src/base/digitseq/cl_asm_mipsel_.cc: New file...
* src/base/digitseq/cl_asm_cc: ...used here.
* src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
* include/cln/object.h: Set alignment for mipsel explicitly.
2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
Support for little-endian Mips
* include/cln/config.h.in: Add __mipsel__.
* include/cln/modules.h: For Mips, this is endianness-agnostic.
* src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
Mask out assembler for little-endian Mips.
2004-08-30 Bruno Haible <bruno@clisp.org>
* benchmarks/timebench2.sh: Multiply all repeat counts by 100.
* benchmarks/timebench2.results: Add recent PowerPC G4 results.
2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* examples/e.cc: remove extra semicolon.
2004-08-25 Bruno Haible <bruno@clisp.org>
* autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
* m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
2004-08-22 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Add support for Comeau C++ on Linux.
Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
* autoconf/aclocal.m4: Regenerate.
2004-08-19 Bruno Haible <bruno@clisp.org>
* include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
MacOS X.
Reported by Darren Bane <darren.bane@ul.ie>.
2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.8 released.
2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/base/cl_macros.h: alloca(3) has size_t argument type.
2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* include/cln/floatformat.h: Do define a type here.
2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
2004-06-23 Bruno Haible <bruno@clisp.org>
* configure.ac: Pretend ftime() is not available. Needed by
CL_TIMES_CLOCK.
2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
* doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
* rational/transcendental/cl_RA_logp.cc: fix bug where base is
reciprocal of an integer.
Reported by Niklas Knutsson <nq@altern.org>.
2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
Make template specializations explicit.
2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
src/real/input/cl_R_read.cc: Remove unused labels.
2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
examples/atan_recip.cc, examples/atanh_recip.cc,
examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
src/base/cl_alloca.h, src/base/cl_malloc.cc,
src/base/random/cl_random_from.cc,
src/base/string/cl_spushstring_append.cc,
src/base/string/cl_spushstring_push.cc,
src/base/string/cl_st_debug.cc,
src/base/string/input/cl_st_gettoken.cc,
src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
src/rational/input/cl_RA_read.cc,
src/real/format-output/cl_fmt_integer.cc,
src/real/format-output/cl_fmt_paddedstring.cc,
src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
tests/timeLFln-compare.cc, tests/timeLFln.cc,
tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
tests/timezeta3.cc: Change all C include headers to ISO style
within C++ code.
2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
* examples/perfnum.cc: update to presumed 41st Mersenne prime.
2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.7 released.
2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
* examples/pi.cc and examples/pi.1: New files.
* examples/Makefile.in: Build the pi executable.
2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/Makefile.in: Fix for parallel build: wait for subdir objects to
be finished before creating the library.
2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/output/cl_I_print.cc (print_integer): workaround
GCC compiler bug (cf. Debian bug#246319).
2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
enabled.
2004-03-08 Bruno Haible <bruno@clisp.org>
* src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
underflow condition.
* src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
* Makefile.in (install): Add ${srcdir} for cln.m4.
* m4/gmp.m4: quote macro names.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.1.6 released.
2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/univpoly.h, include/cln/univpoly_complex.h,
include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
src/polynomial/elem/cl_UP_number.h (ldegree): New function.
* doc/cln.tex: Document `ldegree'.
2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
Rework of autoconfiscation infrastructure
* autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
* autoconf/ltmain.sh: Update to GNU version 1.4.3.
* autoconf/autoconf: Remove (from now on we assume autoconf is
installed properly on the sytem).
* autoconf/autoconf.m4: Likewise.
* autoconf/autoconf.m4f: Likewise.
* autoconf/acgeneral.m4: Likewise.
* autoconf/acspecific.m4: Likewise.
* autoconf/aclocal.m4: Regenerate.
* autoconf/acinclude.m4: Remove (while moving the macros...)
* m4/gmp.m4: New file (...to here).
* Makefile.devel: Update to new scheme.
* configure.ac: Likewise.
* include/cln/GV_integer.h: Assume template specializations work.
* include/cln/GV_modinteger.h: Likewise.
* include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
* src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
* src/base/random/cl_random_from.cc: Likewise.
* src/timing/cl_base_config.h.in: Likewise.
* src/timing/cl_t_current.cc: Likewise.
2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
* src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
argument is zero.
* src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
* src/polynomial/cl_UP_number.h (num_minus): Likewise.
Reported by Munagala Ramanath <amberarrow@yahoo.com>.
2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
* examples/perfnum.cc: update to presumed 40th Mersenne prime.
2003-11-20 Christian Bauer <cbauer@ginac.de>
Added pkg-config support
* cln.pc.in: New file.
* Makefile.in: Take care of cln.pc.
* configure.ac: Likewise.
2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
* src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
2003-08-01 Richard Kreckel <kreckel@ginac.de>
More dependent base resolution issues
* src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
portable syntactic simplification.
* src/base/hash/cl_hashset.h: Preceed inherited members with this->.
* src/base/hash/cl_hash1.h: Likewise for member functions.
* src/base/hash/cl_hash2.h: Likewise.
* src/base/hash/cl_hashuniq.h: Likewise.
* src/base/hash/cl_hashuniqweak.h: Likewise.
* src/base/hash/cl_hash.h: Revert explicit static member function
lookup since that was GCC's fault.
* src/base/hash/cl_hash2weak.h: Likewise.
* src/base/hash/cl_hashuniqweak.h: Likewise.
2003-06-29 Richard Kreckel <kreckel@ginac.de>
Dependent base resolution needed for GCC-3.4
* include/cln/GV.h: Preceed inherited members with this->.
* include/cln/SV.h: Likewise.
* include/cln/object.h: Likewise.
* src/base/hash/cl_hash1.h: Likewise.
* src/base/hash/cl_hash1weak.h: Likewise.
* src/base/hash/cl_hash2.h: Likewise.
* src/base/hash/cl_hashuniq.h: Likewise.
* src/base/hash/cl_hash.h: Make lookup of static member function
explicit.
* src/base/hash/cl_hash2weak.h: Likewise.
* src/base/hash/cl_hashuniqweak.h: Likewise.
* src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
2003-02-24 Bruno Haible <bruno@clisp.org>
* src/base/random/cl_random_from.cc (random_state::random_state): Add
support for MacOS X.
* src/modinteger/cl_MI.cc: #undef _R.
Reported by Erann Gat <gat@jpl.nasa.gov>.
2002-08-03 Joerg Arndt <jj@suse.de>
* include/cln/config.h.in: Add support for x86_64 CPU.
* include/cln/modules.h: Likewise.
* include/cln/types.h: Likewise.
* include/cln/object.h: Likewise.
2002-06-08 Richard Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
m68k Assembler routines.
* src/base/digitseq/cl_asm_.cc: Likewise.
2002-05-28 Richard Kreckel <kreckel@ginac.de>
* Version 1.1.5 released.
2002-05-27 Richard Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_CONCATENATE): New macro.
2002-05-10 Richard Kreckel <kreckel@ginac.de>
* doc/cln.tex (Building the library): Update recommendations for
compiling on Tru64 using g++ 3.0 and 3.1.
* README: Update homepage.
2002-05-05 Bruno Haible <bruno@clisp.org>
* doc/cln.tex (Building the library): Give some recommendations for
g++ 3.0 and 3.1.
Force link-time references despite optimizations done by g++ 2.95
and newer.
* include/cln/modules.h (CL_FORCE_LINK): New macro.
* Use CL_FORCE_LINK.
* include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
* include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
* include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
* include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
* include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
* include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
Likewise.
* include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
Likewise.
* include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
* include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
* include/cln/rational.h (cl_RA_debug_dummy): Likewise.
* include/cln/real.h (cl_R_debug_dummy): Likewise.
* include/cln/ring.h (cl_ring_debug_dummy): Likewise.
* include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
Likewise.
* include/cln/string.h (cl_string_debug_dummy): Likewise.
* include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
* src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
Avoid g++ 3.1 warnings.
* src/base/cl_offsetof.h (offsetof): Redefine each time.
* src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
Avoid g++ 3.1 warnings.
* src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
where needed.
* src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
htxentry as a shortcut.
* src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
* src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
* src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
Likewise.
2002-03-15 Bruno Haible <bruno@clisp.org>
* cln.tex: Document problem with GNU make 3.77.
Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
2002-02-16 Richard Kreckel <kreckel@ginac.de>
* cln.m4: quote macro name.
Pointed out by Roberto Bagnara.
2002-01-20 Richard Kreckel <kreckel@ginac.de>
* autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
(the old one was broken on Linux/Mips.)
2002-01-04 Richard Kreckel <kreckel@ginac.de>
* autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
* Version 1.1.4 released.
2002-01-03 Richard Kreckel <kreckel@ginac.de>
* autoconf/acinclude.m4: revamp MPN-matcher.
* autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
sync with CLisp from CVS.
* autoconf/autoconf: Likewise.
* autoconf/autoconf.m4f: Likewise (new file).
* configure.ac: Likewise (new file, replaces configure.in).
* configure.in: Likewise (deleted, replaced by configure.ac).
* autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
* src/Makefile.in: made VPATH safe for autoconf-2.52.
* include/cln/config.h.in: Add __s390__.
2001-12-31 Richard Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
any more since GMP4 has some C++ support in it.
2001-12-14 Richard Kreckel <kreckel@ginac.de>
* include/cln/modules.h, include/cln/object.h: add support for
s390.
* src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
on s390, provided by Gerhard Tonn.
2001-11-05 Richard Kreckel <kreckel@ginac.de>
* autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
* autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
* Version 1.1.3 released.
2001-11-04 Bruno Haible <haible@clisp.cons.org>
Interoperability with gcc-3.0 -fuse-cxa-atexit.
* autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
global destructors actually exist.
* include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
Don't hack the global destructors if there is no global destructors
function.
2001-11-03 Richard Kreckel <kreckel@ginac.de>
* src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
values of x, return square(x) instead of x.
* src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
2001-07-25 Richard Kreckel <kreckel@ginac.de>
* Version 1.1.2 released.
2001-07-24 Richard Kreckel <kreckel@ginac.de>
* src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
friend of cl_heap_hashtable<htentry>.
2001-07-22 Richard Kreckel <kreckel@ginac.de>
* src/float/base/cl_ieee.cc: try to do magic to the FPU only if
_FPU_IEEE is really defined.
* include/cln/modules.h: change assembler labels from `label' to
`label:' on hppa, needed by Linux (see comment).
* autoconf/acinclude.m4: new file (for storing CLN-specific macros).
* Makefile.devel: adjusted.
* autoconf/aclocal.m4: regenerate.
* src/base/low/cl_low_mul.cc: moved POD variables that are declared
extern "C" elsewhere out of the namespace.
* src/base/low/cl_low_div.cc: Likewise.
2001-06-08 Bruno Haible <haible@clisp.cons.org>
* autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
* autoconf/aclocal.m4: Upgrade to libtool-1.4.
* autoconf/ltmain.sh: Likewise.
* autoconf/ltconfig: Remove file.
* autoconf/install-sh: New file.
* configure.in: Add AC_CONFIG_AUX_DIR call.
2001-06-05 Richard Kreckel <kreckel@ginac.de>
* tests/tests.cc: resolve namespace ambiguity about strcmp().
2001-05-31 Richard Kreckel <kreckel@ginac.de>
* Version 1.1.1 released.
2001-05-28 Richard Kreckel <kreckel@ginac.de>
* cln/cln.tex: documented problems with shared library on Sparc
using gcc older than 2.95.3.
* configure.in: Fixed typos in versioning docu.
2001-05-25 Bruno Haible <haible@clisp.cons.org>
* src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
hexadecimal constants.
2001-05-25 Richard Kreckel <kreckel@ginac.de>
* autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
* src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
* Removed LiDIA interface since that is now outdated (namespace cln)
and maintained elsewhere.
* Adjusted dates and final touches for 1.1.1.
2001-05-19 Richard Kreckel <kreckel@ginac.de>
* INSTALL: Update toolchain info: no egcs, some more platforms.
* doc/cln.tex: Likewise.
2001-05-18 Richard Kreckel <kreckel@ginac.de>
* src/base/cl_low.h: prepended variables declared inside macros
with underscore. Fixes equal_hashcode() on various platforms.
2001-04-25 Richard Kreckel <kreckel@ginac.de>
* src/base/cl_low.h: Added several checks if NO_ASM is defined, so
this definition becomes actually useful. This is needed for
compilation on Arm until somebody fixes the assembler files for Arm.
* src/base/digitseq/cl_asm.h: Likewise.
* src/base/digitseq/cl_asm_.cc: Likewise.
* */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
one can say `make CPPFLAGS=-DFOOBAR'.
2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
* src/base/random/cl_random_from.cc: ported to beos.
2001-03-05 Richard Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
2001-01-28 Richard Kreckel <kreckel@ginac.de>
* include/cln/number.h (cl_as_N): Remove bogus comment.
2001-01-22 Richard Kreckel <kreckel@ginac.de>
* configure.in: Make build in separate builddir possible (again).
2001-01-22 Richard Kreckel <kreckel@ginac.de>
* include/cln/*.h: Change signatures of all classes' methods
cln::cl_foo::operator new(size_t, cl_foo*) to
cln::cl_foo::operator new(size_t, void*) so one can declare
std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
certain STL implementations (like libstdc++-v3).
2000-12-14 Richard Kreckel <kreckel@ginac.de>
* Version 1.1 released.
2000-12-13 Richard Kreckel <kreckel@ginac.de>
* */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
2000-12-05 Richard Kreckel <kreckel@ginac.de>
* Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
* include/cln/version.h.in, src/base/verion.cc: New files.
* configure.in: Generate include/cln/version.h.
* cln.m4: Rewrote it. Check result of cln-config without compiling.
Do cross-check library version and header version information.
2000-12-02 Christian Bauer <cbauer@ginac.de>
* Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
* cln.m4, cln.spec.in: some minor fixes with respect to RPM package
building.
2000-11-24 Richard Kreckel <kreckel@ginac.de>
* */*: Removed problematic stdin, stdout and stderr definitions.
Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
2000-11-20 Bruno Haible
* cln-config.1: change title.
2000-11-18 Richard Kreckel <kreckel@ginac.de>
* cln.m4: New file.
* doc/cln.tex: Document package tools cln-config and cln.m4.
* Makefile.in: Care about cln.m4.
2000-11-17 Richard Kreckel <kreckel@ginac.de>
* cln-config.1: added manpage, as required by a couple of distros.
* Makefile.in, doc/Makefile.in: target install depends on installdirs.
2000-11-16 Richard Kreckel <kreckel@ginac.de>
* autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
* configure.in: ...used here.
* include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
* include/cln/types.h: ...used here.
* autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
2000-11-13 Richard Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
in order to guard against an accidented configuration.
* src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
struct power_table_entry initialized as ULL instead of as UL, if
intDsize==64 (caused misprinting on MIPS w/ GMP).
* src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
HAVE_FAST_LONGLONG.
* src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
* src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
generation of Bignum for intDsize==64 and a notreached-check at end.
* autoconf/config.guess, autoconf/config.sub: updated from FSF.
* include/cln/config.h.in: Prepared support for IA64.
* include/cln/types.h: Likewise.
* include/cln/object.h: Likewise.
* include/cln/modules.h: Likewise.
* src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
compiler claims __GNUC_MINOR__==9).
2000-11-03 Richard Kreckel <kreckel@ginac.de>
* src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
HAVE_DD to HAVE_FAST_LONGLONG.
* src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
* src/base/cl_low.h: actually no need to include "cln/types.h" here.
* src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
* src/base/random/cl_UL_random.cc (random32): a is always ULL.
2000-11-01 Richard Kreckel <kreckel@ginac.de>
* include/cln/object.h (cl_combine): define additional signatures, if
HAVE_LONGLONG is defined, in order to keep the compiler happy.
* src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_macros.h (bit): ...for this macro...
* src/base/cl_macros.h (minus_bit): ...and this one.
* src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_low.h (logcount_64): ...for this macro.
* src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
* src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
that turned up when intDsize==32 and cl_word_size==64.
* src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
to uint64 that turned up when intDsize==32 and cl_word_size==64.
2000-10-29 Richard Kreckel <kreckel@ginac.de>
* src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
#undef stderr, if it's defined so cln::stderr isn't confused.
* src/base/input/cl_read_globals.cc: stdin should not be extern.
2000-09-05 Richard Kreckel <kreckel@ginac.de>
* include/cln/number.h (As): Fix it in namespace by suffixing `_As'
to the appropiate method instead of prefixing `as_'.
* src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
* src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
* src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
* src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
* src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
* src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
* src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
* src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
* src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
2000-09-05 Richard Kreckel <kreckel@ginac.de>
* src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
the 0^y cases.
2000-08-30 Richard Kreckel <kreckel@ginac.de>
* include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
Rearranged for a clearer distinction between macros and remaining
identifiers, so Cint can parse it smoothly.
2000-08-29 Richard Kreckel <kreckel@ginac.de>
* include/cln/number.h, the(const cl_number& x): New template
function.
2000-08-29 Richard Kreckel <kreckel@ginac.de>
* */*: Pushed CLN into a namespace `cln'. While doing so, the
following identifiers got their poor-man's namespace (i.e. the
prefix `cl_') stripped off:
cl_catalanconst() -> catalanconst()
cl_compare() -> compare()
cl_cos_sin() -> cos_sin()
cl_cos_sin_t -> cos_sin_t
cl_cosh_sinh() -> cosh_sinh()
cl_cosh_sinh_t -> cosh_sinh_t
cl_decoded_dfloat -> decoded_dfloat
cl_decoded_ffloat -> decoded_ffloat
cl_decoded_float -> decoded_float
cl_decoded_lfloat -> decoded_lfloat
cl_decoded_sfloat -> decoded_sfloat
cl_default_float_format -> default_float_format
cl_default_print_flags -> default_print_flags
cl_default_random_state -> default_random_state
cl_double_approx() -> double_approx()
cl_equal() -> equal()
cl_equal_hashcode() -> equal_hashcode()
cl_eulerconst() -> eulerconst()
cl_find_modint_ring() -> find_modint_ring()
cl_find_univpoly_ring() -> find_univ_poly_ring()
cl_float_approx() -> float_approx
cl_float_format() -> float_format()
cl_float_format_t -> float_format_t
cl_free_hook() -> free_hook()
cl_hermite() -> hermite()
cl_laguerre() -> laguerre()
cl_legendre() -> legandre()
cl_malloc_hook() -> malloc_hook()
cl_pi() -> pi()
cl_tschebychev() -> tschebychev()
cl_zeta() -> zeta()
NB: For functions these changes includes all signatures.
* include/*: moved to include/cln/*, stripped `cl_' off filenames.
* cln-config.in: new file.
2000-08-26 Bruno Haible <haible@clisp.cons.org>
* autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
value, not parens.
2000-08-18 Bruno Haible <haible@clisp.cons.org>
* include/cl_univpoly_modint.h: Fix typo.
2000-07-13 Bruno Haible <haible@clisp.cons.org>
* src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
used as precision marker for floats.
Reported by Keith Briggs (in 1998) and Thomas Roessler.
* src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
* src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
* src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
* src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
2000-06-22 Bruno Haible <haible@clisp.cons.org>
* include/cl_object.h: Rename cl_word_size to cl_pointer_size.
* include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
with N32 ABI.
(cl_word_size): New macro.
* src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
cl_word_size.
2000-05-31 Bruno Haible <haible@clisp.cons.org>
* tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
From a sample that fails with gcc-2.95.2 on Sparc.
* tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
2000-05-30 Richard Kreckel <kreckel@ginac.de>
* configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
New macros.
* configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
CL_VERSION_PATCHLEVEL): New definitions.
* autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
* src/Makefile.in, configure.in: release-variables renamed from
CLN_* to CL_*.
* configure.in: default to build both shared and static library
(i.e. default to the most common behaviour).
2000-05-29 Richard Kreckel <kreckel@ginac.de>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
environment around the patch of 2000-05-23.
2000-05-29 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
2000-05-27 Richard Kreckel <kreckel@ginac.de>
* src/float/lfloat/algebraic/cl_LF_sqrt.cc,
src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
2000-05-24 Richard Kreckel <kreckel@ginac.de>
* autoconf/config.*: Updated to new version from FSF
(the new libtool wants this).
* src/Makefile.in: added $(LDFLAGS) to link step.
* src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
break-even points.
2000-05-23 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
host_vendor, host_os correctly if $host has more than two hyphens.
2000-05-19 Richard Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
better match present-day CPUs whenever GMP3 is used.
* src/base/digitseq/cl_DS_div.cc: dto.
* src/TUNING: Added comment about order of tuning.
* configure, configure.in: Safer GMP3-detection.
* INSTALL.generic: Clarified behaviour of --with-gmp.
* autoconf/config.guess: updated from Clisp-2000-03-06 sources.
2000-05-04 Richard Kreckel <kreckel@ginac.de>
* gmp/: removed completely. From now on we are going to link
externally against libgmp3.0 or above!
* configure, configure.in, Makefile.in, */Makeflags: removed support
of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
setting $CPPFLAGS instead.
* Makefile.in: Added libtool inter-library dependency for -lgmp and
conforming interface versioning (-version-info).
* autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
from libtool 1.3.4.
2000-02-22 Bruno Haible <haible@clisp.cons.org>
* src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
parameter passing was changed for the MIPS n32 ABI.
2000-01-24 Richard Kreckel <kreckel@ginac.de>
* gmp/*: Replaced the complete mpn sources with the ones from
Debian since they are maintained while the ones from FSF
aren't and there were problems on some architectures, PowerPC
in particular. See the file gmp/README.CLN. This way the
hard links in this directory have vanished, they were causing
trouble for people working in AFS. This became necessary for
Debian, because there it woudn't compile on PPC.
2000-01-13 Richard Kreckel <kreckel@ginac.de>
* Version 1.0.3 released.
2000-01-13 Richard Kreckel <kreckel@ginac.de>
* src/base/cl_macros.h (nonreturning_function): For egcs and newer
use __attribute__ ((__noreturn__)) instead of the __volatile__
storage class.
(nonreturning): Remove macro.
* include/*: Minor fixes to stop -ansi -pedantic from complaining.
* include/cl_integer.h: (doublefactorial): New declaration.
* src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
1999-12-18 Bruno Haible <haible@clisp.cons.org>
* autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
"cat", not "echo".
* autoconf/ltconfig: Improve support for recent FreeBSD 3.
* include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
'const T', to match definition in src/vector/cl_GV_number.cc.
Reported by Duncan Simpson <dps@io.stargate.co.uk>.
* gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
yield return code 1.
1999-09-07 Bruno Haible <haible@clisp.cons.org>
* Version 1.0.2 released.
1999-09-06 Bruno Haible <haible@clisp.cons.org>
* src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
boolean expression, write alternatives ending with either
"return cl_true;" or "return cl_false;". This way, g++ does a
better job inlining it.
* src/float/cl_F.h (longfloatp): Likewise.
* src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
* src/complex/cl_C.h (realp, complexp): Likewise.
1999-09-05 Bruno Haible <haible@clisp.cons.org>
* include/cl_integer.h (cl_equal_hashcode): New declaration.
* include/cl_rational.h (cl_equal_hashcode): New declaration.
* include/cl_sfloat.h (cl_equal_hashcode): New declaration.
* include/cl_ffloat.h (cl_equal_hashcode): New declaration.
* include/cl_dfloat.h (cl_equal_hashcode): New declaration.
* include/cl_lfloat.h (cl_equal_hashcode): New declaration.
* include/cl_float.h (cl_equal_hashcode): New declaration.
* include/cl_real.h (cl_equal_hashcode): New declaration.
* include/cl_complex.h (cl_equal_hashcode): New declaration.
* src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
* src/integer/misc/cl_I_eqhashcode.cc: New file.
* src/rational/misc/cl_RA_eqhashcode.cc: New file.
* src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
* src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
* src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
* src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
* src/float/misc/cl_F_eqhashcode.cc: New file.
* src/real/misc/cl_R_eqhashcode.cc: New file.
* src/complex/misc/cl_C_eqhashcode.cc: New file.
* doc/cln.tex: Document `cl_equal_hashcode'.
1999-09-05 Bruno Haible <haible@clisp.cons.org>
* include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
(cl_number_ring): New class.
(cl_specialized_number_ring<T>): Inherit from cl_number_ring.
(instanceof): New function.
* src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
* src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
* src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
* src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
* src/real/ring/cl_R_ring.cc (cl_R_p): New function.
* src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
* src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
* src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
* doc/cln.tex: Document `instanceof'.
1999-09-05 Bruno Haible <haible@clisp.cons.org>
* include/cl_rational.h (numerator, denominator): New declarations.
* src/rational/elem/cl_RA_numerator.cc: New file.
* src/rational/elem/cl_RA_denominator.cc: New file.
* include/cl_integer.h (numerator, denominator): New inline functions.
* doc/cln.tex: Document `numerator' and `denominator'.
1999-09-05 Bruno Haible <haible@clisp.cons.org>
* src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
in the integer case.
* src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
1999-09-05 Bruno Haible <haible@clisp.cons.org>
* include/cl_config.h.in: Support for sparc64 CPU.
* include/cl_modules.h: Likewise.
* include/cl_types.h: Likewise.
* include/cl_object.h: Likewise.
* include/cl_GV.h: Likewise.
* src/Makefile.in: Likewise.
* src/base/cl_alloca.h: Likewise.
* src/base/cl_macros.h: Likewise.
* src/base/cl_sysdep.h: Likewise.
* src/base/cl_low.h: Likewise.
* src/base/digitseq/cl_asm.h: Likewise.
* src/base/digitseq/cl_asm_.cc: Likewise.
* src/base/digitseq/cl_asm_sparc64.h: New file.
* src/base/digitseq/cl_asm_sparc64_.cc: New file.
* src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
* src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
* src/polynomial/elem/cl_UP_GF2.h: Likewise.
* src/polynomial/elem/cl_asm_GF2.cc: Likewise.
1999-09-04 Bruno Haible <haible@clisp.cons.org>
* src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
Use the `orn' instruction.
1999-08-14 Bruno Haible <haible@clisp.cons.org>
Assume all platforms have <stdlib.h> and clock_t.
* configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
* src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
* src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
* src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
* src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
1999-07-18 Bruno Haible <haible@clisp.cons.org>
* gmp/config.guess: Link to autoconf/config.guess.
gmp/config.sub: Link to autoconf/config.sub.
Needed for Win32 platforms.
1999-07-17 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
"sparc64" according to the C compiler, not the uname result.
1999-06-17 Bruno Haible <haible@clisp.cons.org>
* src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
COUNTER_LOOPS version, fortunately not used yet.
* include/cl_modules.h: Prepare for gcc version 3.
1999-06-12 Bruno Haible <haible@clisp.cons.org>
* src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
Change the last call from I_I_to_RT to I_I_to_RA.
1999-06-09 Bruno Haible <haible@clisp.cons.org>
* Version 1.0.1 released.
1999-06-09 Bruno Haible <haible@clisp.cons.org>
* src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
intDsize==64.
1999-06-08 Bruno Haible <haible@clisp.cons.org>
* autoconf/intparam.c (printf_underscored): Change argument type to
`const char*'.
* include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
(CL_PROVIDE, CL_PROVIDE_END): Use them.
* include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
* include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
* src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
cast a cl_I to void here. Works around a bug in g++-2.95.
* src/complex/misc/cl_C_class.cc: Include "cl_C.h".
* src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
in g++-2.95.
* src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
macro.
* src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
* src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
* src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
Likewise.
1999-06-01 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
variants to alpha.
1999-05-29 Bruno Haible <haible@clisp.cons.org>
* src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
OpenBSD like NetBSD.
* src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
* src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
OpenBSD like NetBSD, and Linux/ELF like SVR4.
1999-05-16 Bruno Haible <haible@clisp.cons.org>
* src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
syntax on AIX systems and new assembler syntax on non-AIX systems.
1999-05-01 Bruno Haible <haible@clisp.cons.org>
* autoconf/config.guess, autoconf/config.sub: Upgrade to newest
version from GNU CVS.
1999-04-24 Bruno Haible <haible@clisp.cons.org>
* src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
either operand is a positive fixnum, O(1) instead of O(N).
* src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
* src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
first operand.
1999-04-14 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
ctor/dtor needs to be exported.
* include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
* include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
CL_GLOBALIZE_LABEL.
(CL_GLOBALIZE_LABEL): New macro.
(CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
(CL_PROVIDE): Update.
1999-04-12 Bruno Haible <haible@clisp.cons.org>
* src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
errors ("unterminated string or character constant").
($(ASMFILES_LO)): On HPPA, try with various settings of
COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
1999-04-11 Bruno Haible <haible@clisp.cons.org>
* INSTALL: Mention gmp problems on MIPS.
* doc/cln.tex: Likewise.
1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
* src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
the source tree.
* include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
(CL_GLOBALIZE_ASM_LABEL): New macro.
(CL_PROVIDE): Use it.
* src/base/random/cl_random_from.cc: Handle WIN32.
* src/timing/cl_t_current.cc: Likewise.
1999-03-15 Bruno Haible <haible@clisp.cons.org>
* autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
(main8): Adapt for C++.
1999-03-09 Bruno Haible <haible@clisp.cons.org>
* INSTALL: Mention egcs-1.1 problems on Sparc.
* doc/cln.tex: Likewise.
1999-03-08 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
messages.
1999-02-25 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4: In test programs, declare `int main()', not
`main()'.
* lidia-interface/src/interfaces/integers/cln/bigint.c
(bigint_to_string): Fix for negative arguments.
* src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
* src/base/cl_alloca.h: Likewise.
* src/base/cl_low.h: Eliminate CLISP style "# " comments.
* src/base/digitseq/cl_asm_arm_.cc,
src/base/digitseq/cl_asm_mips_.cc,
src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
* src/modinteger/cl_MI_pow2.h,
src/modinteger/cl_MI_pow2m1.h,
src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
1999-01-18 Bruno Haible <haible@clisp.cons.org>
* autoconf/acgeneral.m4,
autoconf/acspecific.m4: Upgrade to autoconf-2.13.
* autoconf/config.guess, autoconf/config.sub: Likewise.
* autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
a macro. Use ${ac_objext}.
* src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
conforming with CL_ALLOCA.
1999-01-12 Bruno Haible <haible@clisp.cons.org>
* Version 1.0 released.
|