RUN: /bin/echo ['echo', 'Forking build subprocess...'] Forking build subprocess... RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', '773154-1828218', '/home/buildd/filecache-default/062aea2f0390b9b6529955b586086196238d2df9'] Synching the system clock with the buildd NTP service... 9 Dec 14:31:07 ntpdate[17303]: adjust time server 10.122.37.1 offset 0.000148 sec Unpacking chroot for build 773154-1828218 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', '773154-1828218'] Mounting chroot for build 773154-1828218 RUN: /usr/share/launchpad-buildd/slavebin/apply-ogre-model ['apply-ogre-model', '773154-1828218', 'multiverse'] Attempting OGRE for multiverse in build-773154-1828218 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', '773154-1828218', 'deb http://ftpmaster.internal/ubuntu jaunty main restricted universe multiverse'] Overriding sources.list in build-773154-1828218 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', '773154-1828218'] Updating debian chroot for build 773154-1828218 Get:1 http://ftpmaster.internal jaunty Release.gpg [189B] Get:2 http://ftpmaster.internal jaunty Release [74.6kB] Get:3 http://ftpmaster.internal jaunty/main Packages [1260kB] Get:4 http://ftpmaster.internal jaunty/restricted Packages [1260B] Get:5 http://ftpmaster.internal jaunty/universe Packages [4612kB] Get:6 http://ftpmaster.internal jaunty/multiverse Packages [168kB] Fetched 6117kB in 7s (825kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: apt base-files bash-completion binutils bzip2 cpio cpp cpp-4.3 debianutils fakeroot g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base lib64gcc1 libbz2-1.0 libc6 libc6-dev libc6-dev-sparc64 libc6-sparc64 libdb4.6 libdb4.7 libgcc1 libgomp1 libncurses5 libpam-foreground libpam-modules libpam-runtime libpam0g libslang2 libstdc++6 libstdc++6-4.3-dev linux-libc-dev login ncurses-base ncurses-bin passwd python-minimal python2.5-minimal tzdata ucf 42 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/33.8MB of archives. After unpacking 520kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! linux-libc-dev libc6-dev-sparc64 libc6-dev libc6-sparc64 lib64gcc1 libgomp1 cpp-4.3 binutils gcc-4.3-base libgcc1 gcc-4.3 g++-4.3 libstdc++6-4.3-dev libstdc++6 libc6 libdb4.7 libpam-runtime libpam0g libpam-modules base-files debianutils login ncurses-bin libncurses5 ncurses-base python2.5-minimal python-minimal apt tzdata bzip2 libbz2-1.0 cpio libdb4.6 libslang2 passwd ucf bash-completion cpp fakeroot gcc g++ libpam-foreground Authentication warning overridden. (Reading database ... 11055 files and directories currently installed.) Preparing to replace linux-libc-dev 2.6.25-2.3 (using .../linux-libc-dev_2.6.27-1.1_sparc.deb) ... Unpacking replacement linux-libc-dev ... Preparing to replace libc6-dev-sparc64 2.8+20081027-0ubuntu6 (using .../libc6-dev-sparc64_2.9-0ubuntu4_sparc.deb) ... Unpacking replacement libc6-dev-sparc64 ... Preparing to replace libc6-dev 2.8+20081027-0ubuntu6 (using .../libc6-dev_2.9-0ubuntu4_sparc.deb) ... Unpacking replacement libc6-dev ... Preparing to replace libc6-sparc64 2.8+20081027-0ubuntu6 (using .../libc6-sparc64_2.9-0ubuntu4_sparc.deb) ... Unpacking replacement libc6-sparc64 ... Preparing to replace lib64gcc1 1:4.3.2-2ubuntu1 (using .../lib64gcc1_1%3a4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement lib64gcc1 ... Preparing to replace libgomp1 4.3.2-2ubuntu1 (using .../libgomp1_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement libgomp1 ... Preparing to replace cpp-4.3 4.3.2-2ubuntu1 (using .../cpp-4.3_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement cpp-4.3 ... Preparing to replace binutils 2.19-0ubuntu1 (using .../binutils_2.19-0ubuntu3_sparc.deb) ... Unpacking replacement binutils ... dpkg: warning - unable to delete old directory `/usr/share/locale/rw': Directory not empty Preparing to replace gcc-4.3-base 4.3.2-2ubuntu1 (using .../gcc-4.3-base_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement gcc-4.3-base ... Preparing to replace libgcc1 1:4.3.2-2ubuntu1 (using .../libgcc1_1%3a4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement libgcc1 ... Setting up gcc-4.3-base (4.3.2-2ubuntu6) ... Setting up libgcc1 (4.3.2-2ubuntu6) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace gcc-4.3 4.3.2-2ubuntu1 (using .../gcc-4.3_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement gcc-4.3 ... Preparing to replace g++-4.3 4.3.2-2ubuntu1 (using .../g++-4.3_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement g++-4.3 ... Preparing to replace libstdc++6-4.3-dev 4.3.2-2ubuntu1 (using .../libstdc++6-4.3-dev_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement libstdc++6-4.3-dev ... Preparing to replace libstdc++6 4.3.2-2ubuntu1 (using .../libstdc++6_4.3.2-2ubuntu6_sparc.deb) ... Unpacking replacement libstdc++6 ... Setting up libstdc++6 (4.3.2-2ubuntu6) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace libc6 2.8+20081027-0ubuntu6 (using .../libc6_2.9-0ubuntu4_sparc.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.9-0ubuntu4) ... Installing new version of config file /etc/init.d/glibc.sh ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace libdb4.7 4.7.25-5 (using .../libdb4.7_4.7.25-5ubuntu1_sparc.deb) ... Unpacking replacement libdb4.7 ... Preparing to replace libpam-runtime 1.0.1-4ubuntu5 (using .../libpam-runtime_1.0.1-4ubuntu5.4_all.deb) ... Unpacking replacement libpam-runtime ... Setting up libpam-runtime (1.0.1-4ubuntu5.4) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace libpam0g 1.0.1-4ubuntu5 (using .../libpam0g_1.0.1-4ubuntu5.4_sparc.deb) ... Unpacking replacement libpam0g ... Setting up libpam0g (1.0.1-4ubuntu5.4) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace libpam-modules 1.0.1-4ubuntu5 (using .../libpam-modules_1.0.1-4ubuntu5.4_sparc.deb) ... Unpacking replacement libpam-modules ... Setting up libdb4.7 (4.7.25-5ubuntu1) ... Setting up libpam-modules (1.0.1-4ubuntu5.4) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace base-files 4.0.5ubuntu2 (using .../base-files_4.0.6ubuntu1_sparc.deb) ... Unpacking replacement base-files ... Setting up base-files (4.0.6ubuntu1) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace debianutils 2.30ubuntu1 (using .../debianutils_2.30ubuntu2_sparc.deb) ... Unpacking replacement debianutils ... Setting up debianutils (2.30ubuntu2) ... (Reading database ... 10963 files and directories currently installed.) Preparing to replace login 1:4.1.1-1ubuntu1 (using .../login_1%3a4.1.1-6ubuntu1_sparc.deb) ... Unpacking replacement login ... Setting up login (4.1.1-6ubuntu1) ... Installing new version of config file /etc/pam.d/login ... Installing new version of config file /etc/login.defs ... Installing new version of config file /etc/securetty ... (Reading database ... 10961 files and directories currently installed.) Preparing to replace ncurses-bin 5.6+20071124-1ubuntu2 (using .../ncurses-bin_5.7-2ubuntu1_sparc.deb) ... Unpacking replacement ncurses-bin ... Setting up ncurses-bin (5.7-2ubuntu1) ... (Reading database ... 10964 files and directories currently installed.) Preparing to replace libncurses5 5.6+20071124-1ubuntu2 (using .../libncurses5_5.7-2ubuntu1_sparc.deb) ... Unpacking replacement libncurses5 ... Setting up libncurses5 (5.7-2ubuntu1) ... (Reading database ... 10964 files and directories currently installed.) Preparing to replace ncurses-base 5.6+20071124-1ubuntu2 (using .../ncurses-base_5.7-2ubuntu1_all.deb) ... Unpacking replacement ncurses-base ... Setting up ncurses-base (5.7-2ubuntu1) ... (Reading database ... 10973 files and directories currently installed.) Preparing to replace python2.5-minimal 2.5.2-11.1ubuntu1 (using .../python2.5-minimal_2.5.2-14ubuntu1_sparc.deb) ... Unpacking replacement python2.5-minimal ... Setting up python2.5-minimal (2.5.2-14ubuntu1) ... (Reading database ... 10973 files and directories currently installed.) Preparing to replace python-minimal 2.5.2-1ubuntu1 (using .../python-minimal_2.5.2-3ubuntu1_all.deb) ... Unpacking replacement python-minimal ... Setting up python-minimal (2.5.2-3ubuntu1) ... (Reading database ... 10973 files and directories currently installed.) Preparing to replace apt 0.7.14ubuntu6 (using .../apt_0.7.19ubuntu1_sparc.deb) ... Unpacking replacement apt ... Setting up apt (0.7.19ubuntu1) ... Installing new version of config file /etc/cron.daily/apt ... (Reading database ... 10975 files and directories currently installed.) Preparing to replace tzdata 2008i-2 (using .../tzdata_2008i-3_all.deb) ... Unpacking replacement tzdata ... Setting up tzdata (2008i-3) ... Current default timezone: 'Etc/UTC' Local time is now: Tue Dec 9 14:32:05 UTC 2008. Universal Time is now: Tue Dec 9 14:32:05 UTC 2008. Run 'dpkg-reconfigure tzdata' if you wish to change it. (Reading database ... 10975 files and directories currently installed.) Preparing to replace bzip2 1.0.5-0.1ubuntu1 (using .../bzip2_1.0.5-1ubuntu1_sparc.deb) ... Unpacking replacement bzip2 ... Preparing to replace libbz2-1.0 1.0.5-0.1ubuntu1 (using .../libbz2-1.0_1.0.5-1ubuntu1_sparc.deb) ... Unpacking replacement libbz2-1.0 ... Preparing to replace cpio 2.9-13ubuntu2 (using .../cpio_2.9-14ubuntu1_sparc.deb) ... Unpacking replacement cpio ... Preparing to replace libdb4.6 4.6.21-11 (using .../libdb4.6_4.6.21-12_sparc.deb) ... Unpacking replacement libdb4.6 ... Preparing to replace libslang2 2.1.3-3ubuntu1 (using .../libslang2_2.1.3-3ubuntu3_sparc.deb) ... Unpacking replacement libslang2 ... Preparing to replace passwd 1:4.1.1-1ubuntu1 (using .../passwd_1%3a4.1.1-6ubuntu1_sparc.deb) ... Unpacking replacement passwd ... Preparing to replace ucf 3.0010 (using .../archives/ucf_3.0011_all.deb) ... Unpacking replacement ucf ... Preparing to replace bash-completion 20060301-4ubuntu1 (using .../bash-completion_20060301-4ubuntu2_all.deb) ... Unpacking replacement bash-completion ... Preparing to replace cpp 4:4.3.1-1ubuntu2 (using .../cpp_4%3a4.3.2-2ubuntu1_sparc.deb) ... Unpacking replacement cpp ... Preparing to replace fakeroot 1.9.5ubuntu1 (using .../fakeroot_1.11ubuntu1_sparc.deb) ... Unpacking replacement fakeroot ... Preparing to replace gcc 4:4.3.1-1ubuntu2 (using .../gcc_4%3a4.3.2-2ubuntu1_sparc.deb) ... Removing old gcc doc directory. Unpacking replacement gcc ... Preparing to replace g++ 4:4.3.1-1ubuntu2 (using .../g++_4%3a4.3.2-2ubuntu1_sparc.deb) ... Unpacking replacement g++ ... Preparing to replace libpam-foreground 0.4-1 (using .../libpam-foreground_0.5_sparc.deb) ... Unpacking replacement libpam-foreground ... Setting up linux-libc-dev (2.6.27-1.1) ... Setting up libc6-sparc64 (2.9-0ubuntu4) ... Setting up libc6-dev (2.9-0ubuntu4) ... Setting up libc6-dev-sparc64 (2.9-0ubuntu4) ... Setting up lib64gcc1 (4.3.2-2ubuntu6) ... Setting up libgomp1 (4.3.2-2ubuntu6) ... Setting up cpp-4.3 (4.3.2-2ubuntu6) ... Setting up binutils (2.19-0ubuntu3) ... Setting up gcc-4.3 (4.3.2-2ubuntu6) ... Setting up libbz2-1.0 (1.0.5-1ubuntu1) ... Setting up bzip2 (1.0.5-1ubuntu1) ... Setting up cpio (2.9-14ubuntu1) ... Setting up libdb4.6 (4.6.21-12) ... Setting up libslang2 (2.1.3-3ubuntu3) ... Setting up passwd (4.1.1-6ubuntu1) ... Setting up ucf (3.0011) ... Setting up bash-completion (20060301-4ubuntu2) ... Installing new version of config file /etc/bash_completion ... Setting up cpp (4.3.2-2ubuntu1) ... Setting up fakeroot (1.11ubuntu1) ... Setting up gcc (4.3.2-2ubuntu1) ... Setting up libpam-foreground (0.5) ... Setting up libstdc++6-4.3-dev (4.3.2-2ubuntu6) ... Setting up g++-4.3 (4.3.2-2ubuntu6) ... Setting up g++ (4.3.2-2ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', '773154-1828218', '--nolog', '--batch', '--archive=ubuntu', '--purpose=PRIMARY', '--dist=jaunty', '--comp=multiverse', 'core++_1.7-11.dsc'] Initiating build Automatic build of core++_1.7-11 on artigas by sbuild/sparc 1.170.5 Build started at 20081209-1432 ****************************************************************************** core++_1.7-11.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: debhelper (>= 5), dpatch, libgmp3-dev, texlive-latex-base, gawk | awk, ghostscript Checking for already installed source dependencies... debhelper: missing dpatch: missing libgmp3-dev: missing texlive-latex-base: missing gawk: missing awk: already installed (=*=PROVIDED=*=) ghostscript: missing Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper dpatch libgmp3-dev texlive-latex-base ghostscript Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: dmsetup libdevmapper1.02.1 upstart-compat-sysv startup-tasks system-services sysvutils upstart perl-doc Use 'apt-get autoremove' to remove them. The following extra packages will be installed: bsdmainutils defoma ed file fontconfig-config gettext gettext-base groff-base gsfonts html2text intltool-debian libcroco3 libcups2 libcupsimage2 libexpat1 libfontconfig1 libfreetype6 libgcrypt11 libglib2.0-0 libgmpxx4ldbl libgnutls26 libgpg-error0 libgs8 libice6 libjpeg62 libkeyutils1 libkpathsea4 libkrb53 libmagic1 libnewt0.52 libpaper1 libpng12-0 libpoppler3 libpopt0 libsm6 libtasn1-3 libtiff4 libx11-6 libx11-data libxau6 libxaw7 libxcb-xlib0 libxcb1 libxdmcp6 libxext6 libxml2 libxmu6 libxpm4 libxt6 man-db mime-support po-debconf tex-common texlive-base texlive-base-bin texlive-common texlive-doc-base ttf-dejavu ttf-dejavu-core ttf-dejavu-extra whiptail x11-common Suggested packages: wamerican wordlist whois vacation dh-make defoma-doc psfontmgr x-ttcidfont-conf dfontmgr libft-perl curl cvs gettext-doc ghostscript-x hpijs groff cups-common libfreetype6-dev rng-tools libgmp3-doc libmpfr-dev gnutls-bin krb5-doc krb5-user less www-browser libmail-box-perl perl-tk xpdf-reader pdf-viewer gv postscript-viewer Recommended packages: patchutils libglib2.0-data libfribidi0 libpaper-utils xml-core libmail-sendmail-perl libcompress-zlib-perl dvipdfmx lmodern texlive-base-bin-doc texlive-latex-base-doc The following NEW packages will be installed: bsdmainutils debhelper defoma dpatch ed file fontconfig-config gettext gettext-base ghostscript groff-base gsfonts html2text intltool-debian libcroco3 libcups2 libcupsimage2 libexpat1 libfontconfig1 libfreetype6 libgcrypt11 libglib2.0-0 libgmp3-dev libgmpxx4ldbl libgnutls26 libgpg-error0 libgs8 libice6 libjpeg62 libkeyutils1 libkpathsea4 libkrb53 libmagic1 libnewt0.52 libpaper1 libpng12-0 libpoppler3 libpopt0 libsm6 libtasn1-3 libtiff4 libx11-6 libx11-data libxau6 libxaw7 libxcb-xlib0 libxcb1 libxdmcp6 libxext6 libxml2 libxmu6 libxpm4 libxt6 man-db mime-support po-debconf tex-common texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-latex-base ttf-dejavu ttf-dejavu-core ttf-dejavu-extra whiptail x11-common 0 upgraded, 67 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/34.9MB of archives. After unpacking 105MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! x11-common libice6 libsm6 libxau6 libxdmcp6 libxcb1 libxcb-xlib0 libx11-data libx11-6 libxt6 libmagic1 file libgpg-error0 libgcrypt11 libtasn1-3 libgnutls26 libkeyutils1 libkrb53 libnewt0.52 libpopt0 mime-support whiptail bsdmainutils ed gettext-base groff-base libexpat1 libxext6 libxml2 man-db html2text libglib2.0-0 libcroco3 gettext intltool-debian po-debconf debhelper defoma dpatch ttf-dejavu-core ttf-dejavu-extra ttf-dejavu fontconfig-config libcups2 libjpeg62 libpng12-0 libtiff4 libcupsimage2 libfreetype6 libfontconfig1 libpaper1 libgs8 gsfonts ghostscript libgmpxx4ldbl libgmp3-dev libkpathsea4 libpoppler3 libxmu6 libxpm4 libxaw7 tex-common texlive-common texlive-doc-base texlive-base-bin texlive-base texlive-latex-base Authentication warning overridden. Selecting previously deselected package x11-common. (Reading database ... 10977 files and directories currently installed.) Unpacking x11-common (from .../x11-common_1%3a7.4~5ubuntu5_all.deb) ... Selecting previously deselected package libice6. Unpacking libice6 (from .../libice6_2%3a1.0.4-1_sparc.deb) ... Selecting previously deselected package libsm6. Unpacking libsm6 (from .../libsm6_2%3a1.1.0-1_sparc.deb) ... Selecting previously deselected package libxau6. Unpacking libxau6 (from .../libxau6_1%3a1.0.3-3_sparc.deb) ... Selecting previously deselected package libxdmcp6. Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.2-3_sparc.deb) ... Selecting previously deselected package libxcb1. Unpacking libxcb1 (from .../libxcb1_1.1-1.1_sparc.deb) ... Selecting previously deselected package libxcb-xlib0. Unpacking libxcb-xlib0 (from .../libxcb-xlib0_1.1-1.1_sparc.deb) ... Selecting previously deselected package libx11-data. Unpacking libx11-data (from .../libx11-data_2%3a1.1.5-2ubuntu2_all.deb) ... Selecting previously deselected package libx11-6. Unpacking libx11-6 (from .../libx11-6_2%3a1.1.5-2ubuntu2_sparc.deb) ... Setting up x11-common (7.4~5ubuntu5) ... Selecting previously deselected package libxt6. (Reading database ... 11323 files and directories currently installed.) Unpacking libxt6 (from .../libxt6_1%3a1.0.5-3_sparc.deb) ... Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_4.26-1_sparc.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_4.26-1_sparc.deb) ... Selecting previously deselected package libgpg-error0. Unpacking libgpg-error0 (from .../libgpg-error0_1.4-2ubuntu7_sparc.deb) ... Selecting previously deselected package libgcrypt11. Unpacking libgcrypt11 (from .../libgcrypt11_1.4.1-2ubuntu1_sparc.deb) ... Selecting previously deselected package libtasn1-3. Unpacking libtasn1-3 (from .../libtasn1-3_1.5-1_sparc.deb) ... Selecting previously deselected package libgnutls26. Unpacking libgnutls26 (from .../libgnutls26_2.4.2-4_sparc.deb) ... Selecting previously deselected package libkeyutils1. Unpacking libkeyutils1 (from .../libkeyutils1_1.2-9_sparc.deb) ... Selecting previously deselected package libkrb53. Unpacking libkrb53 (from .../libkrb53_1.6.dfsg.4~beta1-4_sparc.deb) ... Selecting previously deselected package libnewt0.52. Unpacking libnewt0.52 (from .../libnewt0.52_0.52.2-11.3ubuntu1_sparc.deb) ... Selecting previously deselected package libpopt0. Unpacking libpopt0 (from .../libpopt0_1.14-4_sparc.deb) ... Selecting previously deselected package mime-support. Unpacking mime-support (from .../mime-support_3.44-1_all.deb) ... Selecting previously deselected package whiptail. Unpacking whiptail (from .../whiptail_0.52.2-11.3ubuntu1_sparc.deb) ... Selecting previously deselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_6.1.10ubuntu3_sparc.deb) ... Selecting previously deselected package ed. Unpacking ed (from .../ed_0.7-3ubuntu1_sparc.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.17-6ubuntu1_sparc.deb) ... Selecting previously deselected package groff-base. Unpacking groff-base (from .../groff-base_1.18.1.1-21_sparc.deb) ... Selecting previously deselected package libexpat1. Unpacking libexpat1 (from .../libexpat1_2.0.1-4_sparc.deb) ... Selecting previously deselected package libxext6. Unpacking libxext6 (from .../libxext6_2%3a1.0.4-1_sparc.deb) ... Selecting previously deselected package libxml2. Unpacking libxml2 (from .../libxml2_2.6.32.dfsg-5ubuntu1_sparc.deb) ... Selecting previously deselected package man-db. Unpacking man-db (from .../man-db_2.5.3-1_sparc.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-5_sparc.deb) ... Selecting previously deselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.19.2-0ubuntu2_sparc.deb) ... Selecting previously deselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.1-2_sparc.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.17-6ubuntu1_sparc.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.15ubuntu1_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_7.0.17ubuntu1_all.deb) ... Selecting previously deselected package defoma. Unpacking defoma (from .../defoma_0.11.10-0.2ubuntu1_all.deb) ... Selecting previously deselected package dpatch. Unpacking dpatch (from .../archives/dpatch_2.0.30_all.deb) ... Selecting previously deselected package ttf-dejavu-core. Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.25-3_all.deb) ... Selecting previously deselected package ttf-dejavu-extra. Unpacking ttf-dejavu-extra (from .../ttf-dejavu-extra_2.25-3_all.deb) ... Selecting previously deselected package ttf-dejavu. Unpacking ttf-dejavu (from .../ttf-dejavu_2.25-3_all.deb) ... Selecting previously deselected package fontconfig-config. Unpacking fontconfig-config (from .../fontconfig-config_2.6.0-1ubuntu4_all.deb) ... Selecting previously deselected package libcups2. Unpacking libcups2 (from .../libcups2_1.3.9-9_sparc.deb) ... Selecting previously deselected package libjpeg62. Unpacking libjpeg62 (from .../libjpeg62_6b-14_sparc.deb) ... Selecting previously deselected package libpng12-0. Unpacking libpng12-0 (from .../libpng12-0_1.2.27-2ubuntu1_sparc.deb) ... Selecting previously deselected package libtiff4. Unpacking libtiff4 (from .../libtiff4_3.8.2-11_sparc.deb) ... Selecting previously deselected package libcupsimage2. Unpacking libcupsimage2 (from .../libcupsimage2_1.3.9-9_sparc.deb) ... Selecting previously deselected package libfreetype6. Unpacking libfreetype6 (from .../libfreetype6_2.3.7-2ubuntu1_sparc.deb) ... Selecting previously deselected package libfontconfig1. Unpacking libfontconfig1 (from .../libfontconfig1_2.6.0-1ubuntu4_sparc.deb) ... Selecting previously deselected package libpaper1. Unpacking libpaper1 (from .../libpaper1_1.1.23+nmu1_sparc.deb) ... Selecting previously deselected package libgs8. Unpacking libgs8 (from .../libgs8_8.63.dfsg.1-0ubuntu12_sparc.deb) ... Selecting previously deselected package gsfonts. Unpacking gsfonts (from .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-3_all.deb) ... Selecting previously deselected package ghostscript. Unpacking ghostscript (from .../ghostscript_8.63.dfsg.1-0ubuntu12_sparc.deb) ... Selecting previously deselected package libgmpxx4ldbl. Unpacking libgmpxx4ldbl (from .../libgmpxx4ldbl_2%3a4.2.2+dfsg-3ubuntu1_sparc.deb) ... Selecting previously deselected package libgmp3-dev. Unpacking libgmp3-dev (from .../libgmp3-dev_2%3a4.2.2+dfsg-3ubuntu1_sparc.deb) ... Selecting previously deselected package libkpathsea4. Unpacking libkpathsea4 (from .../libkpathsea4_2007.dfsg.2-4_sparc.deb) ... Selecting previously deselected package libpoppler3. Unpacking libpoppler3 (from .../libpoppler3_0.8.7-1_sparc.deb) ... Selecting previously deselected package libxmu6. Unpacking libxmu6 (from .../libxmu6_2%3a1.0.4-1_sparc.deb) ... Selecting previously deselected package libxpm4. Unpacking libxpm4 (from .../libxpm4_1%3a3.5.7-1_sparc.deb) ... Selecting previously deselected package libxaw7. Unpacking libxaw7 (from .../libxaw7_2%3a1.0.4-2_sparc.deb) ... Selecting previously deselected package tex-common. Unpacking tex-common (from .../tex-common_1.11.3_all.deb) ... Selecting previously deselected package texlive-common. Unpacking texlive-common (from .../texlive-common_2007.dfsg.1-4_all.deb) ... Selecting previously deselected package texlive-doc-base. Unpacking texlive-doc-base (from .../texlive-doc-base_2007.dfsg.1-1_all.deb) ... Selecting previously deselected package texlive-base-bin. Unpacking texlive-base-bin (from .../texlive-base-bin_2007.dfsg.2-4_sparc.deb) ... Selecting previously deselected package texlive-base. Unpacking texlive-base (from .../texlive-base_2007.dfsg.1-4_all.deb) ... Selecting previously deselected package texlive-latex-base. Unpacking texlive-latex-base (from .../texlive-latex-base_2007.dfsg.1-4_all.deb) ... Setting up libice6 (1.0.4-1) ... Setting up libsm6 (1.1.0-1) ... Setting up libxau6 (1.0.3-3) ... Setting up libxdmcp6 (1.0.2-3) ... Setting up libxcb1 (1.1-1.1) ... Setting up libxcb-xlib0 (1.1-1.1) ... Setting up libx11-data (1.1.5-2ubuntu2) ... Setting up libx11-6 (1.1.5-2ubuntu2) ... Setting up libxt6 (1.0.5-3) ... Setting up libmagic1 (4.26-1) ... Setting up file (4.26-1) ... Setting up libgpg-error0 (1.4-2ubuntu7) ... Setting up libgcrypt11 (1.4.1-2ubuntu1) ... Setting up libtasn1-3 (1.5-1) ... Setting up libgnutls26 (2.4.2-4) ... Setting up libkeyutils1 (1.2-9) ... Setting up libkrb53 (1.6.dfsg.4~beta1-4) ... Setting up libnewt0.52 (0.52.2-11.3ubuntu1) ... Setting up libpopt0 (1.14-4) ... Setting up mime-support (3.44-1) ... Setting up whiptail (0.52.2-11.3ubuntu1) ... Setting up bsdmainutils (6.1.10ubuntu3) ... Setting up ed (0.7-3ubuntu1) ... Setting up gettext-base (0.17-6ubuntu1) ... Setting up groff-base (1.18.1.1-21) ... Setting up libexpat1 (2.0.1-4) ... Setting up libxext6 (1.0.4-1) ... Setting up libxml2 (2.6.32.dfsg-5ubuntu1) ... Setting up man-db (2.5.3-1) ... Building database of manual pages ... ... skipping, since this is a buildd Setting up html2text (1.3.2a-5) ... Setting up libglib2.0-0 (2.19.2-0ubuntu2) ... Setting up libcroco3 (0.6.1-2) ... Setting up gettext (0.17-6ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.15ubuntu1) ... Setting up debhelper (7.0.17ubuntu1) ... Setting up defoma (0.11.10-0.2ubuntu1) ... Setting up dpatch (2.0.30) ... Setting up ttf-dejavu-core (2.25-3) ... Setting up ttf-dejavu-extra (2.25-3) ... Setting up ttf-dejavu (2.25-3) ... Setting up fontconfig-config (2.6.0-1ubuntu4) ... Setting up libcups2 (1.3.9-9) ... Setting up libjpeg62 (6b-14) ... Setting up libpng12-0 (1.2.27-2ubuntu1) ... Setting up libtiff4 (3.8.2-11) ... Setting up libcupsimage2 (1.3.9-9) ... Setting up libfreetype6 (2.3.7-2ubuntu1) ... Setting up libfontconfig1 (2.6.0-1ubuntu4) ... Setting up libpaper1 (1.1.23+nmu1) ... Creating config file /etc/papersize with new version Setting up libgs8 (8.63.dfsg.1-0ubuntu12) ... Setting up gsfonts (8.11+urwcyr1.0.7~pre44-3) ... (Re-)registering PostScript fonts... done. Setting up ghostscript (8.63.dfsg.1-0ubuntu12) ... Updating font configuration of gs... Cleaning up category psprint.. Cleaning up category cmap.. Cleaning up category cid.. Cleaning up category truetype.. Cleaning up category gsfontderivative.. Cleaning up category type3.. Cleaning up category type1.. Updating category type1.. Updating category type3.. Updating category gsfontderivative.. Updating category truetype.. Updating category cid.. Updating category cmap.. Updating category psprint.. Setting up libgmpxx4ldbl (4.2.2+dfsg-3ubuntu1) ... Setting up libgmp3-dev (4.2.2+dfsg-3ubuntu1) ... Setting up libkpathsea4 (2007.dfsg.2-4) ... Setting up libpoppler3 (0.8.7-1) ... Setting up libxmu6 (1.0.4-1) ... Setting up libxpm4 (3.5.7-1) ... Setting up libxaw7 (1.0.4-2) ... Setting up tex-common (1.11.3) ... Creating config file /etc/texmf/texmf.d/05TeXMF.cnf with new version Creating config file /etc/texmf/texmf.d/15Plain.cnf with new version Creating config file /etc/texmf/texmf.d/45TeXinputs.cnf with new version Creating config file /etc/texmf/texmf.d/55Fonts.cnf with new version Creating config file /etc/texmf/texmf.d/65BibTeX.cnf with new version Creating config file /etc/texmf/texmf.d/75DviPS.cnf with new version Creating config file /etc/texmf/texmf.d/85Misc.cnf with new version Creating config file /etc/texmf/texmf.d/90TeXDoc.cnf with new version Creating config file /etc/texmf/texmf.d/95NonPath.cnf with new version Creating config file /etc/texmf/updmap.d/00updmap.cfg with new version Creating config file /etc/texmf/texmf.cnf with new version Setting up texlive-common (2007.dfsg.1-4) ... Setting up texlive-doc-base (2007.dfsg.1-1) ... Running mktexlsr. This may take some time... done. Setting up texlive-base-bin (2007.dfsg.2-4) ... Running mktexlsr. This may take some time... done. Building format(s) --all. This may take some time... done. Setting up texlive-base (2007.dfsg.1-4) ... Running mktexlsr. This may take some time... done. Building format(s) --all. This may take some time... done. Running updmap-sys. This may take some time... done. Setting up texlive-latex-base (2007.dfsg.1-4) ... Running mktexlsr. This may take some time... done. Running updmap-sys. This may take some time... done. Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-latex-base.cnf. This may take some time... done. Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.9-0ubuntu4 make_3.81-5 dpkg-dev_1.14.22ubuntu1 g++-4.3_4.3.2-2ubuntu6 gcc-4.3_4.3.2-2ubuntu6 binutils_2.19-0ubuntu3 libstdc++6_4.3.2-2ubuntu6 libstdc++6-4.3-dev_4.3.2-2ubuntu6 ------------------------------------------------------------------------------ dpkg-source: extracting core++ in core++-1.7 dpkg-source: unpacking core++_1.7.orig.tar.gz dpkg-source: applying /home/buildd/build-773154-1828218/core++_1.7-11.diff.gz dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package core++ dpkg-buildpackage: source version 1.7-11 dpkg-buildpackage: host architecture sparc /usr/bin/fakeroot debian/rules clean dpatch apply-all applying patch bugfix-filter to ./ ... ok. applying patch bugfix-operatorplusplus to ./ ... ok. applying patch bugfix-avoid-internal-gmp-functions to ./ ... ok. applying patch bugfix-size-type to ./ ... ok. applying patch makefile-library to ./ ... ok. applying patch makefile-misc to ./ ... ok. applying patch makefile-output to ./ ... ok. applying patch documentation-paths to ./ ... ok. applying patch documentation-readme to ./ ... ok. applying patch g++-4.0-compatibility to ./ ... ok. applying patch g++-4.1-compatibility to ./ ... ok. applying patch g++-4.3-compatibility to ./ ... ok. touch patch-stamp dh_testdir dh_testroot rm -f build-indep-stamp build-arch-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make CC=gcc CXX=g++ VAR= LINKAGE=shared GMP_PREFIX=/usr VERSION=1.0.0 MAJOR=1 veryclean make[1]: Entering directory `/build/buildd/core++-1.7' make[2]: Entering directory `/build/buildd/core++-1.7/src' test -z "../lib/libcore++.a" || rm -rf "../lib/libcore++.a" test -z "../lib/libcore++.so.1.0.0" || rm -rf "../lib/libcore++.so.1.0.0" make[2]: Leaving directory `/build/buildd/core++-1.7/src' make[2]: Entering directory `/build/buildd/core++-1.7/ext' test -z "*.o" || rm -f *.o /usr/bin/make -C geom2d clean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C test clean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom2d/test' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C geom3d clean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom3d' /usr/bin/make -C test clean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom3d/test' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d' test -z "../lib/libcorex++_level3.a" || rm -rf "../lib/libcorex++_level3.a" test -z "../lib/libcorex++_level2.a" || rm -rf "../lib/libcorex++_level2.a" test -z "../lib/libcorex++_level1.a" || rm -rf "../lib/libcorex++_level1.a" test -z "../lib/libcorex++_level1.so.1.0.0"||rm -rf "../lib/libcorex++_level1.so.1.0.0" test -z "../lib/libcorex++_level2.so.1.0.0"||rm -rf "../lib/libcorex++_level2.so.1.0.0" test -z "../lib/libcorex++_level3.so.1.0.0"||rm -rf "../lib/libcorex++_level3.so.1.0.0" /usr/bin/make -C geom2d veryclean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C test veryclean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom2d/test' test -z "*.o" || rm -f *.o test -z "pentagon_level3 pentagon_level1" || rm -f pentagon_level3 pentagon_level1 make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C geom3d veryclean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom3d' /usr/bin/make -C test veryclean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom3d/test' test -z "*.o" || rm -f *.o test -z "test_level3 test2_level3" || rm -f test_level3 test2_level3 make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d' make[2]: Leaving directory `/build/buildd/core++-1.7/ext' make[2]: Entering directory `/build/buildd/core++-1.7/doc' rm -f *.dvi *.log *.aux *.toc *.blg *.bbl *.ps *.pdf tutoriala4.* make[2]: Leaving directory `/build/buildd/core++-1.7/doc' make[2]: Entering directory `/build/buildd/core++-1.7/lib' test -z "*.a" || rm -f *.a test -z "*.so*" || rm -f *.so* make[2]: Leaving directory `/build/buildd/core++-1.7/lib' make[2]: Entering directory `/build/buildd/core++-1.7/progs' make[3]: Entering directory `/build/buildd/core++-1.7/progs/bareiss' test -z "*.o" || rm -f *.o test -z "bareiss" || rm -f bareiss make[3]: Leaving directory `/build/buildd/core++-1.7/progs/bareiss' make[3]: Entering directory `/build/buildd/core++-1.7/progs/chull' test -z "*.o" || rm -f *.o test -z "chull_level3 chull_level1 chull4_level3 chull4_level1" || rm -f chull_level3 chull_level1 chull4_level3 chull4_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/chull' make[3]: Entering directory `/build/buildd/core++-1.7/progs/compare' test -z "*.o" || rm -f *.o test -z "compare" || rm -f compare make[3]: Leaving directory `/build/buildd/core++-1.7/progs/compare' make[3]: Entering directory `/build/buildd/core++-1.7/progs/demos' test -z "*.o" || rm -f *.o echo "EXEPROGS=" scheinerman3 simple3 pointOnPlane3 golden EXEPROGS= scheinerman3 simple3 pointOnPlane3 golden test -z "scheinerman3 simple3 pointOnPlane3 golden" || rm -f scheinerman3 simple3 pointOnPlane3 golden rm -f simple1 simple3 simple rm -f golden1 golden3 golden rm -f scheinerman1 scheinerman3 scheinerman rm -f pointOnPlane1 pointOnPlane3 pointOnPlane make[3]: Leaving directory `/build/buildd/core++-1.7/progs/demos' make[3]: Entering directory `/build/buildd/core++-1.7/progs/fileIO' test -z "*.o" || rm -f *.o test -z "fileIO IOspeed stringIO" || rm -f fileIO IOspeed stringIO make[3]: Leaving directory `/build/buildd/core++-1.7/progs/fileIO' make[3]: Entering directory `/build/buildd/core++-1.7/progs/fortune' /usr/bin/make -C vor veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/fortune/vor' test -z "*.o" || rm -f *.o test -z "voronoi" || rm -f voronoi make[4]: Leaving directory `/build/buildd/core++-1.7/progs/fortune/vor' /usr/bin/make -C pred veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/fortune/pred' test -z "*.o" || rm -f *.o test -z "pred pred2" || rm -f pred pred2 make[4]: Leaving directory `/build/buildd/core++-1.7/progs/fortune/pred' make[3]: Leaving directory `/build/buildd/core++-1.7/progs/fortune' make[3]: Entering directory `/build/buildd/core++-1.7/progs/generic' test -z "*.o" || rm -f *.o test -z "sample" || rm -f sample test -z "gmptest" || rm -f gmptest make[3]: Leaving directory `/build/buildd/core++-1.7/progs/generic' make[3]: Entering directory `/build/buildd/core++-1.7/progs/kahan' test -z "*.o" || rm -f *.o test -z "kahan" || rm -f kahan make[3]: Leaving directory `/build/buildd/core++-1.7/progs/kahan' make[3]: Entering directory `/build/buildd/core++-1.7/progs/pi' test -z "*.o" || rm -f *.o test -z "newPi pi brent" || rm -f newPi pi brent make[3]: Leaving directory `/build/buildd/core++-1.7/progs/pi' make[3]: Entering directory `/build/buildd/core++-1.7/progs/poly' test -z "*.o" || rm -f *.o test -z "tSturm tSturmBF tNewton tPolyALL tSturmRat tSturmExp tSturmInt tWilk20 tWilk20deriv tKameny4 tGCD tRootOf" || rm -f tSturm tSturmBF tNewton tPolyALL tSturmRat tSturmExp tSturmInt tWilk20 tWilk20deriv tKameny4 tGCD tRootOf rm -f tSturm tSturmExp tSturmBF \ tSturmInt tSturmLon rm -f tNewton tNewtonBF rm -f tPoly tPolyExp \ tPolyInt tPolyRat tPolyBF rm -f tt tt1 tt2 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/poly' make[3]: Entering directory `/build/buildd/core++-1.7/progs/sumOfSqrts' test -z "*.o" || rm -f *.o test -z "graham" || rm -f graham make[3]: Leaving directory `/build/buildd/core++-1.7/progs/sumOfSqrts' make[3]: Entering directory `/build/buildd/core++-1.7/progs/testIdent' test -z "*.o" || rm -f *.o test -z "testIdent testBound" || rm -f testIdent testBound make[3]: Leaving directory `/build/buildd/core++-1.7/progs/testIdent' make[3]: Entering directory `/build/buildd/core++-1.7/progs/tutorial' test -z "*.o" || rm -f *.o test -z "delaunay io" || rm -f delaunay io test -z "prog1 prog2 prog3 prog4 prog5 prog6 prog7 prog8 prog9 prog10 prog11 prog12 BF_output one simple" || rm -f prog1 prog2 prog3 prog4 prog5 prog6 prog7 prog8 prog9 prog10 prog11 prog12 BF_output one simple make[3]: Leaving directory `/build/buildd/core++-1.7/progs/tutorial' make[3]: Entering directory `/build/buildd/core++-1.7/progs/chullGraham' test -z "*.o" || rm -f *.o test -z "graham graham4 grahamIEEE" || rm -f graham graham4 grahamIEEE make[3]: Leaving directory `/build/buildd/core++-1.7/progs/chullGraham' make[3]: Entering directory `/build/buildd/core++-1.7/progs/curves' test -z "*.o" || rm -f *.o test -z "tCurves parseCurve tIntersect plotCurve" || rm -f tCurves parseCurve tIntersect plotCurve rm -f tCurves make[3]: Leaving directory `/build/buildd/core++-1.7/progs/curves' make[3]: Entering directory `/build/buildd/core++-1.7/progs/delaunay' test -z "*.o" || rm -f *.o test -z "dt2 dt4" || rm -f dt2 dt4 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/delaunay' make[3]: Entering directory `/build/buildd/core++-1.7/progs/ieee' test -z "*.o" || rm -f *.o test -z "tDoubleValue ieeeFormat" || rm -f tDoubleValue ieeeFormat test -z p || rm -f p make[3]: Leaving directory `/build/buildd/core++-1.7/progs/ieee' make[3]: Entering directory `/build/buildd/core++-1.7/progs/gaussian' test -z "*.o" || rm -f *.o test -z "gaussian_level3 gaussian_level1 gaussianX_level3 gaussianX_level1" || rm -f gaussian_level3 gaussian_level1 gaussianX_level3 gaussianX_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/gaussian' make[3]: Entering directory `/build/buildd/core++-1.7/progs/geom2d' test -z "*.o" || rm -f *.o echo "EXEPROGS=" testLine pointOnCircle testPoint pointInput convexHull EXEPROGS= testLine pointOnCircle testPoint pointInput convexHull test -z "testLine pointOnCircle testPoint pointInput convexHull" || rm -f testLine pointOnCircle testPoint pointInput convexHull make[3]: Leaving directory `/build/buildd/core++-1.7/progs/geom2d' make[3]: Entering directory `/build/buildd/core++-1.7/progs/geom3d' test -z "*.o" || rm -f *.o test -z "lines2d_level3 lines3d_level1 lines2d_level1 lines3d_level3" || rm -f lines2d_level3 lines3d_level1 lines2d_level1 lines3d_level3 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/geom3d' make[3]: Entering directory `/build/buildd/core++-1.7/progs/heron' test -z "*.o" || rm -f *.o test -z "heron" || rm -f heron make[3]: Leaving directory `/build/buildd/core++-1.7/progs/heron' make[3]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom' test -z "*.o" || rm -f *.o /usr/bin/make -C const clean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/const' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/const' /usr/bin/make -C timing clean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/timing' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/timing' test -z "demo demo demoPi" || rm -f demo demo demoPi /usr/bin/make -C const veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/const' test -z "*.o" || rm -f *.o test -z "log2 pi" || rm -f log2 pi make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/const' /usr/bin/make -C timing veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/timing' test -z "*.o" || rm -f *.o test -z "timehyper timepi timelog" || rm -f timehyper timepi timelog make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/timing' make[3]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom' make[3]: Entering directory `/build/buildd/core++-1.7/progs/nestedSqrt' test -z "*.o" || rm -f *.o test -z "nestedSqrt nestedSqrtX" || rm -f nestedSqrt nestedSqrtX make[3]: Leaving directory `/build/buildd/core++-1.7/progs/nestedSqrt' make[3]: Entering directory `/build/buildd/core++-1.7/progs/pentagon' test -z "*.o" || rm -f *.o test -z "pentagon_level3 pentagon_level1" || rm -f pentagon_level3 pentagon_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/pentagon' make[3]: Entering directory `/build/buildd/core++-1.7/progs/prover' test -z "*.o" || rm -f *.o test -z "prover_level3 prover_level1" || rm -f prover_level3 prover_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/prover' make[3]: Entering directory `/build/buildd/core++-1.7/progs/radical' test -z "*.o" || rm -f *.o test -z "tRadical tUC tRadicalALL tRadicalRat tRadicalInt tRadicalExp tRadicalBF" || rm -f tRadical tUC tRadicalALL tRadicalRat tRadicalInt tRadicalExp tRadicalBF make[3]: Leaving directory `/build/buildd/core++-1.7/progs/radical' make[3]: Entering directory `/build/buildd/core++-1.7/progs/testFilter' test -z "*.o" || rm -f *.o test -z "testFilter testmatrix createMatrices" || rm -f testFilter testmatrix createMatrices make[3]: Leaving directory `/build/buildd/core++-1.7/progs/testFilter' make[3]: Entering directory `/build/buildd/core++-1.7/progs/testIO' test -z "*.o" || rm -f *.o test -z "testIO testSqrt" || rm -f testIO testSqrt make[3]: Leaving directory `/build/buildd/core++-1.7/progs/testIO' make[3]: Entering directory `/build/buildd/core++-1.7/progs/tests' test -z "*.o" || rm -f *.o test -z " floor_ceil bench" || rm -f floor_ceil bench make[3]: Leaving directory `/build/buildd/core++-1.7/progs/tests' make[2]: Leaving directory `/build/buildd/core++-1.7/progs' test -z "/build/buildd/core++-1.7/tmp/DIAG_*" || rm -f /build/buildd/core++-1.7/tmp/DIAG_* make[1]: Leaving directory `/build/buildd/core++-1.7' cd doc; /usr/bin/make clean make[1]: Entering directory `/build/buildd/core++-1.7/doc' rm -f *.dvi *.log *.aux *.toc *.blg *.bbl *.ps *.pdf tutoriala4.* make[1]: Leaving directory `/build/buildd/core++-1.7/doc' if test -d progs.check; then rm -r progs.check; fi if test -d examples; then rm -r examples; fi dh_clean dpatch deapply-all reverting patch g++-4.3-compatibility from ./ ... ok. reverting patch g++-4.1-compatibility from ./ ... ok. reverting patch g++-4.0-compatibility from ./ ... ok. reverting patch documentation-readme from ./ ... ok. reverting patch documentation-paths from ./ ... ok. reverting patch makefile-output from ./ ... ok. reverting patch makefile-misc from ./ ... ok. reverting patch makefile-library from ./ ... ok. reverting patch bugfix-size-type from ./ ... ok. reverting patch bugfix-avoid-internal-gmp-functions from ./ ... ok. reverting patch bugfix-operatorplusplus from ./ ... ok. reverting patch bugfix-filter from ./ ... ok. rm -fr patch-stamp debian/patched debian/rules build dpatch apply-all applying patch bugfix-filter to ./ ... ok. applying patch bugfix-operatorplusplus to ./ ... ok. applying patch bugfix-avoid-internal-gmp-functions to ./ ... ok. applying patch bugfix-size-type to ./ ... ok. applying patch makefile-library to ./ ... ok. applying patch makefile-misc to ./ ... ok. applying patch makefile-output to ./ ... ok. applying patch documentation-paths to ./ ... ok. applying patch documentation-readme to ./ ... ok. applying patch g++-4.0-compatibility to ./ ... ok. applying patch g++-4.1-compatibility to ./ ... ok. applying patch g++-4.3-compatibility to ./ ... ok. touch patch-stamp dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make CC=gcc CXX=g++ VAR= LINKAGE=shared GMP_PREFIX=/usr VERSION=1.0.0 MAJOR=1 corelib corex make[1]: Entering directory `/build/buildd/core++-1.7' /usr/bin/make -C src 2>&1 | tee /build/buildd/core++-1.7/tmp/DIAG_CORELIB make[2]: Entering directory `/build/buildd/core++-1.7/src' g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c GmpIO.cpp -o GmpIO.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c CoreIO.cpp -o CoreIO.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c CoreAux.cpp -o CoreAux.o CoreAux.cpp:186: warning: deprecated conversion from string constant to 'char*' g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c CoreDefs.cpp -o CoreDefs.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c extLong.cpp -o extLong.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c BigFloat.cpp -o BigFloat.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c Real.cpp -o Real.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -I../inc -c Expr.cpp -o Expr.o ar rcs ../lib/libcore++.a GmpIO.o CoreIO.o CoreAux.o CoreDefs.o extLong.o BigFloat.o Real.o Expr.o g++ -shared -Wl,-soname,libcore++.so.1 -o ../lib/libcore++.so.1.0.0 GmpIO.o CoreIO.o CoreAux.o CoreDefs.o extLong.o BigFloat.o Real.o Expr.o -lgmp -lm make[2]: Leaving directory `/build/buildd/core++-1.7/src' /usr/bin/make -C ext 2>&1 | tee /build/buildd/core++-1.7/tmp/DIAG_COREX make[2]: Entering directory `/build/buildd/core++-1.7/ext' g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=3 -I../inc -c linearAlgebra.cpp -o linearAlgebra_level3.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=3 -I../inc -c geometry2d.cpp -o geometry2d_level3.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=3 -I../inc -c geometry3d.cpp -o geometry3d_level3.o rm -rf ../lib/libcorex++_level3.a ar rcs ../lib/libcorex++_level3.a linearAlgebra_level3.o geometry2d_level3.o geometry3d_level3.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=2 -I../inc -c linearAlgebra.cpp -o linearAlgebra_level2.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=2 -I../inc -c geometry2d.cpp -o geometry2d_level2.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=2 -I../inc -c geometry3d.cpp -o geometry3d_level2.o rm -rf ../lib/libcorex++_level2.a ar rcs ../lib/libcorex++_level2.a linearAlgebra_level2.o geometry2d_level2.o geometry3d_level2.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=1 -I../inc -c linearAlgebra.cpp -o linearAlgebra_level1.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=1 -I../inc -c geometry2d.cpp -o geometry2d_level1.o g++ -O2 -Wall -DNDEBUG -fPIC -D_REENTRANT -DCORE_LEVEL=1 -I../inc -c geometry3d.cpp -o geometry3d_level1.o rm -rf ../lib/libcorex++_level1.a ar rcs ../lib/libcorex++_level1.a linearAlgebra_level1.o geometry2d_level1.o geometry3d_level1.o rm -rf ../lib/libcorex++_level3.so.1.0.0 g++ -shared -Wl,-soname,libcorex++_level3.so.1 -o ../lib/libcorex++_level3.so.1.0.0 linearAlgebra_level3.o geometry2d_level3.o geometry3d_level3.o -lcore++ -lgmp -lm -L../lib rm -rf ../lib/libcorex++_level2.so.1.0.0 g++ -shared -Wl,-soname,libcorex++_level2.so.1 -o ../lib/libcorex++_level2.so.1.0.0 linearAlgebra_level2.o geometry2d_level2.o geometry3d_level2.o -lcore++ -lgmp -lm -L../lib rm -rf ../lib/libcorex++_level1.so.1.0.0 g++ -shared -Wl,-soname,libcorex++_level1.so.1 -o ../lib/libcorex++_level1.so.1.0.0 linearAlgebra_level1.o geometry2d_level1.o geometry3d_level1.o -lcore++ -lgmp -lm -L../lib make[2]: Leaving directory `/build/buildd/core++-1.7/ext' make[1]: Leaving directory `/build/buildd/core++-1.7' # remove static libs and object files and rebuild /usr/bin/make CC=gcc CXX=g++ VAR= LINKAGE=static GMP_PREFIX=/usr VERSION=1.0.0 MAJOR=1 veryclean make[1]: Entering directory `/build/buildd/core++-1.7' make[2]: Entering directory `/build/buildd/core++-1.7/src' test -z "../lib/libcore++.a" || rm -rf "../lib/libcore++.a" make[2]: Leaving directory `/build/buildd/core++-1.7/src' make[2]: Entering directory `/build/buildd/core++-1.7/ext' test -z "*.o" || rm -f *.o /usr/bin/make -C geom2d clean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C test clean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom2d/test' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C geom3d clean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom3d' /usr/bin/make -C test clean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom3d/test' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d' test -z "../lib/libcorex++_level3.a" || rm -rf "../lib/libcorex++_level3.a" test -z "../lib/libcorex++_level2.a" || rm -rf "../lib/libcorex++_level2.a" test -z "../lib/libcorex++_level1.a" || rm -rf "../lib/libcorex++_level1.a" /usr/bin/make -C geom2d veryclean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C test veryclean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom2d/test' test -z "*.o" || rm -f *.o test -z "pentagon_level3 pentagon_level1" || rm -f pentagon_level3 pentagon_level1 make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom2d' /usr/bin/make -C geom3d veryclean make[3]: Entering directory `/build/buildd/core++-1.7/ext/geom3d' /usr/bin/make -C test veryclean make[4]: Entering directory `/build/buildd/core++-1.7/ext/geom3d/test' test -z "*.o" || rm -f *.o test -z "test_level3 test2_level3" || rm -f test_level3 test2_level3 make[4]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d/test' make[3]: Leaving directory `/build/buildd/core++-1.7/ext/geom3d' make[2]: Leaving directory `/build/buildd/core++-1.7/ext' make[2]: Entering directory `/build/buildd/core++-1.7/doc' rm -f *.dvi *.log *.aux *.toc *.blg *.bbl *.ps *.pdf tutoriala4.* make[2]: Leaving directory `/build/buildd/core++-1.7/doc' make[2]: Entering directory `/build/buildd/core++-1.7/lib' test -z "*.a" || rm -f *.a make[2]: Leaving directory `/build/buildd/core++-1.7/lib' make[2]: Entering directory `/build/buildd/core++-1.7/progs' make[3]: Entering directory `/build/buildd/core++-1.7/progs/bareiss' test -z "*.o" || rm -f *.o test -z "bareiss" || rm -f bareiss make[3]: Leaving directory `/build/buildd/core++-1.7/progs/bareiss' make[3]: Entering directory `/build/buildd/core++-1.7/progs/chull' test -z "*.o" || rm -f *.o test -z "chull_level3 chull_level1 chull4_level3 chull4_level1" || rm -f chull_level3 chull_level1 chull4_level3 chull4_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/chull' make[3]: Entering directory `/build/buildd/core++-1.7/progs/compare' test -z "*.o" || rm -f *.o test -z "compare" || rm -f compare make[3]: Leaving directory `/build/buildd/core++-1.7/progs/compare' make[3]: Entering directory `/build/buildd/core++-1.7/progs/demos' test -z "*.o" || rm -f *.o echo "EXEPROGS=" scheinerman3 simple3 pointOnPlane3 golden EXEPROGS= scheinerman3 simple3 pointOnPlane3 golden test -z "scheinerman3 simple3 pointOnPlane3 golden" || rm -f scheinerman3 simple3 pointOnPlane3 golden rm -f simple1 simple3 simple rm -f golden1 golden3 golden rm -f scheinerman1 scheinerman3 scheinerman rm -f pointOnPlane1 pointOnPlane3 pointOnPlane make[3]: Leaving directory `/build/buildd/core++-1.7/progs/demos' make[3]: Entering directory `/build/buildd/core++-1.7/progs/fileIO' test -z "*.o" || rm -f *.o test -z "fileIO IOspeed stringIO" || rm -f fileIO IOspeed stringIO make[3]: Leaving directory `/build/buildd/core++-1.7/progs/fileIO' make[3]: Entering directory `/build/buildd/core++-1.7/progs/fortune' /usr/bin/make -C vor veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/fortune/vor' test -z "*.o" || rm -f *.o test -z "voronoi" || rm -f voronoi make[4]: Leaving directory `/build/buildd/core++-1.7/progs/fortune/vor' /usr/bin/make -C pred veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/fortune/pred' test -z "*.o" || rm -f *.o test -z "pred pred2" || rm -f pred pred2 make[4]: Leaving directory `/build/buildd/core++-1.7/progs/fortune/pred' make[3]: Leaving directory `/build/buildd/core++-1.7/progs/fortune' make[3]: Entering directory `/build/buildd/core++-1.7/progs/generic' test -z "*.o" || rm -f *.o test -z "sample" || rm -f sample test -z "gmptest" || rm -f gmptest make[3]: Leaving directory `/build/buildd/core++-1.7/progs/generic' make[3]: Entering directory `/build/buildd/core++-1.7/progs/kahan' test -z "*.o" || rm -f *.o test -z "kahan" || rm -f kahan make[3]: Leaving directory `/build/buildd/core++-1.7/progs/kahan' make[3]: Entering directory `/build/buildd/core++-1.7/progs/pi' test -z "*.o" || rm -f *.o test -z "newPi pi brent" || rm -f newPi pi brent make[3]: Leaving directory `/build/buildd/core++-1.7/progs/pi' make[3]: Entering directory `/build/buildd/core++-1.7/progs/poly' test -z "*.o" || rm -f *.o test -z "tSturm tSturmBF tNewton tPolyALL tSturmRat tSturmExp tSturmInt tWilk20 tWilk20deriv tKameny4 tGCD tRootOf" || rm -f tSturm tSturmBF tNewton tPolyALL tSturmRat tSturmExp tSturmInt tWilk20 tWilk20deriv tKameny4 tGCD tRootOf rm -f tSturm tSturmExp tSturmBF \ tSturmInt tSturmLon rm -f tNewton tNewtonBF rm -f tPoly tPolyExp \ tPolyInt tPolyRat tPolyBF rm -f tt tt1 tt2 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/poly' make[3]: Entering directory `/build/buildd/core++-1.7/progs/sumOfSqrts' test -z "*.o" || rm -f *.o test -z "graham" || rm -f graham make[3]: Leaving directory `/build/buildd/core++-1.7/progs/sumOfSqrts' make[3]: Entering directory `/build/buildd/core++-1.7/progs/testIdent' test -z "*.o" || rm -f *.o test -z "testIdent testBound" || rm -f testIdent testBound make[3]: Leaving directory `/build/buildd/core++-1.7/progs/testIdent' make[3]: Entering directory `/build/buildd/core++-1.7/progs/tutorial' test -z "*.o" || rm -f *.o test -z "delaunay io" || rm -f delaunay io test -z "prog1 prog2 prog3 prog4 prog5 prog6 prog7 prog8 prog9 prog10 prog11 prog12 BF_output one simple" || rm -f prog1 prog2 prog3 prog4 prog5 prog6 prog7 prog8 prog9 prog10 prog11 prog12 BF_output one simple make[3]: Leaving directory `/build/buildd/core++-1.7/progs/tutorial' make[3]: Entering directory `/build/buildd/core++-1.7/progs/chullGraham' test -z "*.o" || rm -f *.o test -z "graham graham4 grahamIEEE" || rm -f graham graham4 grahamIEEE make[3]: Leaving directory `/build/buildd/core++-1.7/progs/chullGraham' make[3]: Entering directory `/build/buildd/core++-1.7/progs/curves' test -z "*.o" || rm -f *.o test -z "tCurves parseCurve tIntersect plotCurve" || rm -f tCurves parseCurve tIntersect plotCurve rm -f tCurves make[3]: Leaving directory `/build/buildd/core++-1.7/progs/curves' make[3]: Entering directory `/build/buildd/core++-1.7/progs/delaunay' test -z "*.o" || rm -f *.o test -z "dt2 dt4" || rm -f dt2 dt4 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/delaunay' make[3]: Entering directory `/build/buildd/core++-1.7/progs/ieee' test -z "*.o" || rm -f *.o test -z "tDoubleValue ieeeFormat" || rm -f tDoubleValue ieeeFormat test -z p || rm -f p make[3]: Leaving directory `/build/buildd/core++-1.7/progs/ieee' make[3]: Entering directory `/build/buildd/core++-1.7/progs/gaussian' test -z "*.o" || rm -f *.o test -z "gaussian_level3 gaussian_level1 gaussianX_level3 gaussianX_level1" || rm -f gaussian_level3 gaussian_level1 gaussianX_level3 gaussianX_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/gaussian' make[3]: Entering directory `/build/buildd/core++-1.7/progs/geom2d' test -z "*.o" || rm -f *.o echo "EXEPROGS=" testLine pointOnCircle testPoint pointInput convexHull EXEPROGS= testLine pointOnCircle testPoint pointInput convexHull test -z "testLine pointOnCircle testPoint pointInput convexHull" || rm -f testLine pointOnCircle testPoint pointInput convexHull make[3]: Leaving directory `/build/buildd/core++-1.7/progs/geom2d' make[3]: Entering directory `/build/buildd/core++-1.7/progs/geom3d' test -z "*.o" || rm -f *.o test -z "lines2d_level3 lines3d_level1 lines2d_level1 lines3d_level3" || rm -f lines2d_level3 lines3d_level1 lines2d_level1 lines3d_level3 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/geom3d' make[3]: Entering directory `/build/buildd/core++-1.7/progs/heron' test -z "*.o" || rm -f *.o test -z "heron" || rm -f heron make[3]: Leaving directory `/build/buildd/core++-1.7/progs/heron' make[3]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom' test -z "*.o" || rm -f *.o /usr/bin/make -C const clean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/const' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/const' /usr/bin/make -C timing clean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/timing' test -z "*.o" || rm -f *.o make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/timing' test -z "demo demo demoPi" || rm -f demo demo demoPi /usr/bin/make -C const veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/const' test -z "*.o" || rm -f *.o test -z "log2 pi" || rm -f log2 pi make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/const' /usr/bin/make -C timing veryclean make[4]: Entering directory `/build/buildd/core++-1.7/progs/hypergeom/timing' test -z "*.o" || rm -f *.o test -z "timehyper timepi timelog" || rm -f timehyper timepi timelog make[4]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom/timing' make[3]: Leaving directory `/build/buildd/core++-1.7/progs/hypergeom' make[3]: Entering directory `/build/buildd/core++-1.7/progs/nestedSqrt' test -z "*.o" || rm -f *.o test -z "nestedSqrt nestedSqrtX" || rm -f nestedSqrt nestedSqrtX make[3]: Leaving directory `/build/buildd/core++-1.7/progs/nestedSqrt' make[3]: Entering directory `/build/buildd/core++-1.7/progs/pentagon' test -z "*.o" || rm -f *.o test -z "pentagon_level3 pentagon_level1" || rm -f pentagon_level3 pentagon_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/pentagon' make[3]: Entering directory `/build/buildd/core++-1.7/progs/prover' test -z "*.o" || rm -f *.o test -z "prover_level3 prover_level1" || rm -f prover_level3 prover_level1 make[3]: Leaving directory `/build/buildd/core++-1.7/progs/prover' make[3]: Entering directory `/build/buildd/core++-1.7/progs/radical' test -z "*.o" || rm -f *.o test -z "tRadical tUC tRadicalALL tRadicalRat tRadicalInt tRadicalExp tRadicalBF" || rm -f tRadical tUC tRadicalALL tRadicalRat tRadicalInt tRadicalExp tRadicalBF make[3]: Leaving directory `/build/buildd/core++-1.7/progs/radical' make[3]: Entering directory `/build/buildd/core++-1.7/progs/testFilter' test -z "*.o" || rm -f *.o test -z "testFilter testmatrix createMatrices" || rm -f testFilter testmatrix createMatrices make[3]: Leaving directory `/build/buildd/core++-1.7/progs/testFilter' make[3]: Entering directory `/build/buildd/core++-1.7/progs/testIO' test -z "*.o" || rm -f *.o test -z "testIO testSqrt" || rm -f testIO testSqrt make[3]: Leaving directory `/build/buildd/core++-1.7/progs/testIO' make[3]: Entering directory `/build/buildd/core++-1.7/progs/tests' test -z "*.o" || rm -f *.o test -z " floor_ceil bench" || rm -f floor_ceil bench make[3]: Leaving directory `/build/buildd/core++-1.7/progs/tests' make[2]: Leaving directory `/build/buildd/core++-1.7/progs' test -z "/build/buildd/core++-1.7/tmp/DIAG_*" || rm -f /build/buildd/core++-1.7/tmp/DIAG_* make[1]: Leaving directory `/build/buildd/core++-1.7' /usr/bin/make CC=gcc CXX=g++ VAR= LINKAGE=static GMP_PREFIX=/usr VERSION=1.0.0 MAJOR=1 corelib corex make[1]: Entering directory `/build/buildd/core++-1.7' /usr/bin/make -C src 2>&1 | tee /build/buildd/core++-1.7/tmp/DIAG_CORELIB make[2]: Entering directory `/build/buildd/core++-1.7/src' g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c GmpIO.cpp -o GmpIO.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c CoreIO.cpp -o CoreIO.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c CoreAux.cpp -o CoreAux.o CoreAux.cpp:186: warning: deprecated conversion from string constant to 'char*' g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c CoreDefs.cpp -o CoreDefs.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c extLong.cpp -o extLong.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c BigFloat.cpp -o BigFloat.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c Real.cpp -o Real.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -I../inc -c Expr.cpp -o Expr.o ar rcs ../lib/libcore++.a GmpIO.o CoreIO.o CoreAux.o CoreDefs.o extLong.o BigFloat.o Real.o Expr.o make[2]: Leaving directory `/build/buildd/core++-1.7/src' /usr/bin/make -C ext 2>&1 | tee /build/buildd/core++-1.7/tmp/DIAG_COREX make[2]: Entering directory `/build/buildd/core++-1.7/ext' g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=3 -I../inc -c linearAlgebra.cpp -o linearAlgebra_level3.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=3 -I../inc -c geometry2d.cpp -o geometry2d_level3.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=3 -I../inc -c geometry3d.cpp -o geometry3d_level3.o rm -rf ../lib/libcorex++_level3.a ar rcs ../lib/libcorex++_level3.a linearAlgebra_level3.o geometry2d_level3.o geometry3d_level3.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=2 -I../inc -c linearAlgebra.cpp -o linearAlgebra_level2.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=2 -I../inc -c geometry2d.cpp -o geometry2d_level2.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=2 -I../inc -c geometry3d.cpp -o geometry3d_level2.o rm -rf ../lib/libcorex++_level2.a ar rcs ../lib/libcorex++_level2.a linearAlgebra_level2.o geometry2d_level2.o geometry3d_level2.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=1 -I../inc -c linearAlgebra.cpp -o linearAlgebra_level1.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=1 -I../inc -c geometry2d.cpp -o geometry2d_level1.o g++ -O2 -Wall -DNDEBUG -D_REENTRANT -DCORE_LEVEL=1 -I../inc -c geometry3d.cpp -o geometry3d_level1.o rm -rf ../lib/libcorex++_level1.a ar rcs ../lib/libcorex++_level1.a linearAlgebra_level1.o geometry2d_level1.o geometry3d_level1.o make[2]: Leaving directory `/build/buildd/core++-1.7/ext' make[1]: Leaving directory `/build/buildd/core++-1.7' # run testsuite # copy testsuite, since 'make veryclean' does not remove all stuff cp -a progs progs.check cd progs.check; \ LD_LIBRARY_PATH=`pwd`/../lib:D_LIBRARY_PATH; \ export LD_LIBRARAY_PATH; \ /usr/bin/make CC=gcc CXX=g++ test moretest 2>&1 | tee log make[1]: Entering directory `/build/buildd/core++-1.7/progs.check' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/bareiss' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include bareiss.cpp -o bareiss.o g++ bareiss.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o bareiss ./bareiss Determinant of A = 2.14748e+9 Note: Determinant of A will overflow in CORE_LEVEL 1 Determinant of B = 0 Note: Determinant of B should be 0, but shows non-zero in CORE_LEVEL 1 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/bareiss' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/chull' g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include chull.cpp -o chull_level3.o g++ chull_level3.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o chull_level3 g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include chull.cpp -o chull_level1.o g++ chull_level1.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o chull_level1 g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include chull4.cpp -o chull4_level3.o g++ chull4_level3.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o chull4_level3 g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include chull4.cpp -o chull4_level1.o g++ chull4_level1.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o chull4_level1 ./chull_level3 < inputs/points > outputs/points.3.ps Checks: V, E, F = 18 48 32: V-E+F = 2 F = 2V-4 2E = 3F ./chull_level1 < inputs/points > outputs/points.1.ps Checks: V, E, F = 18 48 32: V-E+F = 2 F = 2V-4 2E = 3F rm chull4_level3.o chull_level3.o chull4_level1.o chull_level1.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/chull' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/compare' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include compare.cpp -o compare.o g++ compare.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o compare ./compare 10 1 x (789./710.) y (656./631.) e == f ? yes (CORRECT) e = 2.07378, f = 2.07378 Total USER time spent: 0.02 seconds Avg. USER time spent: 0.02 seconds make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/compare' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/demos' g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include scheinerman.cpp -o scheinerman.o g++ scheinerman.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o scheinerman3 ./scheinerman3 ============================================== SCHEINERMAN'S TEST ============================================== ########### Output Digits = 10 X = sqrt(2) + sqrt(5-2 sqrt(6)) = 1.732050808 Y = sqrt(3) = 1.732050808 A = sqrt(75025) + sqrt(121393) + sqrt(196418) + sqrt(317811) = 1629.259889 B = sqrt(514229) + sqrt(832040) = 1629.259889 ########### Output Digits = 20 Here is A again: 1629.2598886331422998 Here is B again: 1629.2598886301892384 ########### Output Digits = 70 X = sqrt(2) + sqrt(5-2 sqrt(6)) = 1.7320508075688772935274463415058723669428 Y = sqrt(3) = 1.73205080756887729352744634150587236694 ########### Approximate to 280 bits of relative precision X = 1.732050807568877293527446341505872366942805253810380628055806979451933 Y = 1.732050807568877293527446341505872366942805253810380628055806979451933 Core Library thinks X == Y (CORRECT!) make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/demos' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/fileIO' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include fileIO.cpp -o fileIO.o g++ fileIO.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o fileIO ./fileIO The result of 500! = 1220136825991110068701238785423046926253574342803192842192413588385845373153881997605496447502203281863013616477148203584163378722078177200480785205159329285477907571939330603772960859086270429174547882424912726344305670173270769461062802310452644218878789465754777149863494367781037644274033827365397471386477878495438489595537537990423241061271326984327745715546309977202781014561081188373709531016356324432987029563896628911658974769572087926928871281780070265174507768410719624390394322536422605234945850129918571501248706961568141625359056693423813008856249246891564126775654481886506593847951775360894005745238940335798476363944905313062323749066445048824665075946735862074637925184200459369692981022263971952597190945217823331756934581508552332820762820023402626907898342451712006207714640979456116127629145951237229913340169552363850942885592018727433795173014586357570828355780158735432768888680120399882384702151467605445407663535984174430480128938313896881639487469658817504506926365338175055478128640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Write the result to the file bin.big in base = 2... Read the result from the file bin.big... CORRECT! write and read from file Write the result to the file octal.big in base = 8... Read the result from the file octal.big... CORRECT! write and read from file Write the result to the file dec.big in base = 10... Read the result from the file dec.big... CORRECT! write and read from file Write the result to the file hex.big in base = 16... Read the result from the file hex.big... CORRECT! write and read from file make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/fileIO' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/fortune' /usr/bin/make -C vor test make[3]: Entering directory `/build/buildd/core++-1.7/progs.check/fortune/vor' g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include voronoi.cpp -o voronoi.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include main.cpp -o main.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include edgelist.cpp -o edgelist.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include geometry.cpp -o geometry.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include heap.cpp -o heap.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include memory.cpp -o memory.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include output.cpp -o output.o g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include PQlist.cpp -o PQlist.o g++ voronoi.o main.o edgelist.o geometry.o heap.o memory.o output.o PQlist.o -L../../../lib -L../../../gmp/lib -lcore++ -lgmp -lm -o voronoi ./voronoi -c < inputs/lattice9 > outputs/lattice9.ps ./voronoi -c < inputs/points100 > outputs/points100.ps ./voronoi -ct < inputs/points100 > outputs/points100-tri.ps make[3]: Leaving directory `/build/buildd/core++-1.7/progs.check/fortune/vor' make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/fortune' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/generic' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include sample.cpp -o sample.o g++ sample.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o sample ./sample C++'s Default Printout Digits is 10 CORE Default Printout Digits is 10 x = 1.44; // standard C++ literal input Printout of x: 1.44 sqrt(x): 1.200000000 ================================================== y = "1.44". // string literal; defInputDigits = 20 Set CORE Printout Digits to 6 Printout of y: 1.44000 sqrt(y): 1.20000 ================================================== z = "1.44". // string literal; defInputDigits = Infinite Set CORE Printout Digits to 6 Printout of z: 1.44000 sqrt(z): 1.20000 ================================================== Above, x, y and z look the same. To see that they are not the same, we force more precision in evaluation and in output: ---Set defRelPrec 133 bits = 40 digits ---Set defPrintDigits to 40 sqrt(x) = 1.199999999999999977795539507496868986095 sqrt(y) = 1.199999999999999999999999999138353528591 sqrt(z) = 1.200000000000000000000000000000000000000 ================================================== Even though sqrt(z) looks like 1.2, the only way to verify this is to do a comparison with 1.2 CORRECT! sqrt(z) = 1.2 exactly ================================================== make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/generic' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/kahan' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include kahan.cpp -o kahan.o g++ kahan.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o kahan ./kahan n = 5000; G(n) = 1 Correct! n = 5001; G(n) = 1 Correct! n = 5002; G(n) = 1 Correct! n = 5003; G(n) = 1 Correct! n = 5004; G(n) = 1 Correct! n = 5005; G(n) = 1 Correct! n = 5006; G(n) = 1 Correct! n = 5007; G(n) = 1 Correct! n = 5008; G(n) = 1 Correct! n = 5009; G(n) = 1 Correct! make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/kahan' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/pi' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include newPi.cpp -o newPi.o g++ newPi.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o newPi ./newPi 6644 0 Time = 0.13 Output precision is 2000 digits outputPrec = 2000 Pi = 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327886593615338182796823030195203530185296899577362259941389124972177528347913151557485724245415069595082953311686172785588907509838175463746493931925506040092770167113900984882401285836160356370766010471018194295559619894676783744944825537977472684710404753464620804668425906949129331367702898915210475216205696602405803815019351125338243003558764024749647326391419927260426992279678235478163600934172164121992458631503028618297455570674983850549458858692699569092721079750930295532116534498720275596023648066549911988183479775356636980742654252786255181841757467289097777279380008164706001614524919217321721477235014144197356854816136115735255213347574184946843852332390739414333454776241686251898356948556209921922218427255025425688767179049460165346680498862723279178608578438382796797668145410095388378636095068006422512520511739298489608412848862694560424196528502221066118630674427862203919494504712371378696095636437191728746776465757396241389086583264599581339047802759010 ./newPi 6644 1 Number of iterations = 11 Time = 1.57 Output precision is 2000 digits outputPrec = 2000 Pi = 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327886593615338182796823030195203530185296899577362259941389124972177528347913151557485724245415069595082953311686172785588907509838175463746493931925506040092770167113900984882401285836160356370766010471018194295559619894676783744944825537977472684710404753464620804668425906949129331367702898915210475216205696602405803815019351125338243003558764024749647326391419927260426992279678235478163600934172164121992458631503028618297455570674983850549458858692699569092721079750930295532116534498720275596023648066549911988183479775356636980742654252786255181841757467289097777279380008164706001614524919217321721477235014144197356854816136115735255213347574184946843852332390739414333454776241686251898356948556209921922218427255025425688767179049460165346680498862723279178608578438382796797668145410095388378636095068006422512520511739298489608412848862694560424196528502221066118630674427862203919494504712371378696095636437191728746776465757396241389086583264599581339047802759010 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/pi' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/poly' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tSturm.cpp -o tSturm.o g++ tSturm.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tSturm g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_BF tSturm.cpp -o tSturmBF.o g++ tSturmBF.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tSturmBF ./tSturm ------------------------------------------------------------ Relative Precision is infty Print Digits is 20 Iteration Stops when delta < 8.6736173798840354721e-19 ------------------------------------------------------------ ============================================================= TEST 1: Polynomial of degree 16 with 6 real roots ============================================================= Polynomial is -113 + (0)*x^1 + (224)*x^2 + (0)*x^3 + (200)*x^4 + (0)*x^5 + (-184)*x^6 + (0)*x^7 + (-98)*x^8 + (0)*x^9 + (64)*x^10 + (0)*x^11 + (8)*x^12 + (0)*x^13 + (-8)*x^14 + (0)*x^15 + (1)*x^16 Separation bound = 1.0540225151081982689e-50 sqrt(1 + sqrt(5 - 3*sqrt(1 + sqrt(2)))) = 1.2577601308259441892 The preceding is a root (CORRECT!) Number of roots is 6 (CORRECT!) 1th Root is in [-2.0268859630081534374 ; -2.0268859630081534374] (CORRECT!) Precision attained 2th Root is in [-1.2577601308259441892 ; -1.2577601308259441892] (CORRECT!) Precision attained 3th Root is in [-6.4655970590866838970e-1 ; -6.4655970590866838970e-1] (CORRECT!) Precision attained 4th Root is in [6.4655970590866838970e-1 ; 6.4655970590866838970e-1] (CORRECT!) Precision attained 5th Root is in [1.2577601308259441892 ; 1.2577601308259441892] (CORRECT!) Precision attained 6th Root is in [2.0268859630081534374 ; 2.0268859630081534374] (CORRECT!) Precision attained ============================================================= TEST 2 : Polynomial X^2 + 1, no roots! ============================================================= Number of roots is 0 (CORRECT!) ============================================================= TEST 3: Legendre Polynomial 35 X^4 - 20 X^2 + 3 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-8.6113631159405257522e-1 ; -8.6113631159405257522e-1] (CORRECT!) Precision attained 2th Root is in [-3.3998104358485626480e-1 ; -3.3998104358485626480e-1] (CORRECT!) Precision attained 3th Root is in [3.3998104358485626480e-1 ; 3.3998104358485626480e-1] (CORRECT!) Precision attained 4th Root is in [8.6113631159405257522e-1 ; 8.6113631159405257522e-1] (CORRECT!) Precision attained ============================================================= TEST 4: Mignotte Polynomial, P(X) = X^20 - 2(100X-1)^2 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-1.7346964402607318572 ; -1.7346964402607318572] (CORRECT!) Precision attained 2th Root is in [9.9999999999999999918e-3 ; 1.0000000000000000000e-2] (CORRECT!) Precision attained 3th Root is in [1.0000000000000000000e-2 ; 1.0000000000000000008e-2] (CORRECT!) Precision attained 4th Root is in [1.7324741845654003171 ; 1.7324741845654003171] (CORRECT!) Precision attained ============================================================= TEST 5: Roots of Unity, P(X) = X^99 - 1 ============================================================= Number of roots is 1 (CORRECT!) 1th Root is in [1.00000000000000000000 ; 1.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6: Wilkinson Polynomial of degree 6 (roots are 1,..,6) ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [9.9999999999999999992e-1 ; 1.0000000000000000001] (CORRECT!) Precision attained 2th Root is in [2.0000000000000000000 ; 2.0000000000000000000] (CORRECT!) Precision attained 3th Root is in [3.0000000000000000000 ; 3.0000000000000000000] (CORRECT!) Precision attained 4th Root is in [4.0000000000000000000 ; 4.0000000000000000000] (CORRECT!) Precision attained 5th Root is in [5.0000000000000000000 ; 5.0000000000000000000] (CORRECT!) Precision attained 6th Root is in [6.0000000000000000000 ; 6.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6a: Perturbed Wilkinson6 (add 1 to constant coeff) NOTE: Roots are more sensitive to perturbations in higher degree coeffs ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 2th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 3th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 4th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 5th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 6th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= TEST 6b: Perturbed Wilkinson6 (add 1 to coeff of X^2) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0086476259817998943 ; 1.0086476259817998943] (CORRECT!) Precision attained 2th Root is in [1.8706587600173800855 ; 1.8706587600173800855] (CORRECT!) Precision attained ============================================================= TEST 6c: Perturbed Wilkinson6 (add 1 to coeff of X^5) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0088894965494693015 ; 1.0088894965494693015] (CORRECT!) Precision attained 2th Root is in [1.6245496096925685859 ; 1.6245496096925685859] (CORRECT!) Precision attained ============================================================= TEST 7: Wilkinson Polynomial of degree 10 (roots are 1,..,10) (THIS USED TO BE SLOW, BUT NO LONGER) ============================================================= The smallest root lies in the interval [0., 1.5203449726104736328] The 3rd smallest root lies in the interval [2.2805174589157104492, 3.0406899452209472656] The largest root lies in the interval [9.1220698356628417969, 1.2162759780883789063e+1] The 3rd largest root lies in the interval7.6017248630523681641, 8.3618973493576049805] The 11th smallest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] The 11th largest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] ============================================================= SPECIAL TESTS: Polynomials with multiple roots ============================================================= SPECIAL TESTS: Linear Polynomial The first root of X-2 is in the interval [0., 4.] ============================================================= SPECIAL TESTS: Polynomial with Zero Tail Coefficients Number of roots is 7 (CORRECT!) 1th Root is in [0. ; 0.] (CORRECT!) Precision attained 2th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 3th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 4th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 5th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 6th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 7th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= SPECIAL TESTS: Polynomial with roots of multiplicity greater than one Number of roots is 2 (CORRECT!) 1th Root is in [-8.2842712474619009760e-1 ; -8.2842712474619009760e-1] (CORRECT!) Precision attained 2th Root is in [4.8284271247461900976 ; 4.8284271247461900976] (CORRECT!) Precision attained ============================================================= END TEST Number type NT = BigInt ============================================================= ./tSturmBF ------------------------------------------------------------ Relative Precision is infty Print Digits is 20 Iteration Stops when delta < 8.6736173798840354721e-19 ------------------------------------------------------------ ============================================================= TEST 1: Polynomial of degree 16 with 6 real roots ============================================================= Polynomial is -1.13e+2 + (0.)*x^1 + (2.24e+2)*x^2 + (0.)*x^3 + (2.00e+2)*x^4 + (0.)*x^5 + (-1.84e+2)*x^6 + (0.)*x^7 + (-9.8e+1)*x^8 + (0.)*x^9 + (6.4e+1)*x^10 + (0.)*x^11 + (8.)*x^12 + (0.)*x^13 + (-8.)*x^14 + (0.)*x^15 + (1.)*x^16 Separation bound = 1.0540225151081982689e-50 sqrt(1 + sqrt(5 - 3*sqrt(1 + sqrt(2)))) = 1.2577601308259441892 The preceding is a root (CORRECT!) Number of roots is 6 (CORRECT!) 1th Root is in [-2.0268859630081534374 ; -2.0268859630081534374] (CORRECT!) Precision attained 2th Root is in [-1.2577601308259441892 ; -1.2577601308259441892] (CORRECT!) Precision attained 3th Root is in [-6.4655970590866838970e-1 ; -6.4655970590866838970e-1] (CORRECT!) Precision attained 4th Root is in [6.4655970590866838970e-1 ; 6.4655970590866838970e-1] (CORRECT!) Precision attained 5th Root is in [1.2577601308259441892 ; 1.2577601308259441892] (CORRECT!) Precision attained 6th Root is in [2.0268859630081534374 ; 2.0268859630081534374] (CORRECT!) Precision attained ============================================================= TEST 2 : Polynomial X^2 + 1, no roots! ============================================================= Number of roots is 0 (CORRECT!) ============================================================= TEST 3: Legendre Polynomial 35 X^4 - 20 X^2 + 3 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-8.6113631159405257522e-1 ; -8.6113631159405257522e-1] (CORRECT!) Precision attained 2th Root is in [-3.3998104358485626480e-1 ; -3.3998104358485626480e-1] (CORRECT!) Precision attained 3th Root is in [3.3998104358485626480e-1 ; 3.3998104358485626480e-1] (CORRECT!) Precision attained 4th Root is in [8.6113631159405257522e-1 ; 8.6113631159405257522e-1] (CORRECT!) Precision attained ============================================================= TEST 4: Mignotte Polynomial, P(X) = X^20 - 2(100X-1)^2 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-1.7346964402607318572 ; -1.7346964402607318572] (CORRECT!) Precision attained 2th Root is in [9.9999999999999999918e-3 ; 1.0000000000000000000e-2] (CORRECT!) Precision attained 3th Root is in [1.0000000000000000000e-2 ; 1.0000000000000000008e-2] (CORRECT!) Precision attained 4th Root is in [1.7324741845654003171 ; 1.7324741845654003171] (CORRECT!) Precision attained ============================================================= TEST 5: Roots of Unity, P(X) = X^99 - 1 ============================================================= Number of roots is 1 (CORRECT!) 1th Root is in [1.00000000000000000000 ; 1.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6: Wilkinson Polynomial of degree 6 (roots are 1,..,6) ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [9.9999999999999999992e-1 ; 1.0000000000000000001] (CORRECT!) Precision attained 2th Root is in [2.0000000000000000000 ; 2.0000000000000000000] (CORRECT!) Precision attained 3th Root is in [3.0000000000000000000 ; 3.0000000000000000000] (CORRECT!) Precision attained 4th Root is in [4.0000000000000000000 ; 4.0000000000000000000] (CORRECT!) Precision attained 5th Root is in [5.0000000000000000000 ; 5.0000000000000000000] (CORRECT!) Precision attained 6th Root is in [6.0000000000000000000 ; 6.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6a: Perturbed Wilkinson6 (add 1 to constant coeff) NOTE: Roots are more sensitive to perturbations in higher degree coeffs ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 2th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 3th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 4th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 5th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 6th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= TEST 6b: Perturbed Wilkinson6 (add 1 to coeff of X^2) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0086476259817998943 ; 1.0086476259817998943] (CORRECT!) Precision attained 2th Root is in [1.8706587600173800855 ; 1.8706587600173800855] (CORRECT!) Precision attained ============================================================= TEST 6c: Perturbed Wilkinson6 (add 1 to coeff of X^5) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0088894965494693015 ; 1.0088894965494693015] (CORRECT!) Precision attained 2th Root is in [1.6245496096925685859 ; 1.6245496096925685859] (CORRECT!) Precision attained ============================================================= TEST 7: Wilkinson Polynomial of degree 10 (roots are 1,..,10) (THIS USED TO BE SLOW, BUT NO LONGER) ============================================================= The smallest root lies in the interval [0., 1.5203449726104736328] The 3rd smallest root lies in the interval [2.2805174589157104492, 3.0406899452209472656] The largest root lies in the interval [9.1220698356628417969, 1.2162759780883789063e+1] The 3rd largest root lies in the interval7.6017248630523681641, 8.3618973493576049805] The 11th smallest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] The 11th largest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] ============================================================= SPECIAL TESTS: Polynomials with multiple roots ============================================================= SPECIAL TESTS: Linear Polynomial The first root of X-2 is in the interval [0., 4.] ============================================================= SPECIAL TESTS: Polynomial with Zero Tail Coefficients Number of roots is 7 (CORRECT!) 1th Root is in [0. ; 0.] (CORRECT!) Precision attained 2th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 3th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 4th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 5th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 6th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 7th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= SPECIAL TESTS: Polynomial with roots of multiplicity greater than one Number of roots is 2 (CORRECT!) 1th Root is in [-8.2842712474619009760e-1 ; -8.2842712474619009760e-1] (CORRECT!) Precision attained 2th Root is in [4.8284271247461900976 ; 4.8284271247461900976] (CORRECT!) Precision attained ============================================================= END TEST Number type NT = BigFloat ============================================================= make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/poly' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/sumOfSqrts' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include graham.cpp -o graham.o g++ graham.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o graham ./graham Graham's Example (comparing 2 sums of 10 square roots e : 9000.449983568839730949026828861359029191165 f : 9000.449983568839730949026828861359029191496 e == f ? no (CORRECT) e - f = -0.000000000000000000000000000000000000331349 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/sumOfSqrts' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/testIdent' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include testIdent.cpp -o testIdent.o g++ testIdent.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testIdent ./testIdent Finished First Identity Test Random test on (a,b,c)=(1.80429e+09, 8.46931e+08, 1.68169e+09) Finished Random Identity Test >> To further exercise the program, rerun testIdenty by giving it some (any) argument e.g. testIdent 1 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/testIdent' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/tutorial' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include delaunay.cpp -o delaunay.o delaunay.cpp: In function 'int main(int, char**)': delaunay.cpp:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result g++ delaunay.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o delaunay g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include io.cpp -o io.o g++ io.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o io ./delaunay 7 debug: argc = 2 lower face indices: 0, 2, 1 lower face indices: 0, 3, 1 lower face indices: 0, 3, 2 lower face indices: 0, 4, 1 lower face indices: 0, 4, 2 lower face indices: 0, 4, 3 lower face indices: 0, 5, 1 lower face indices: 0, 5, 2 lower face indices: 0, 5, 3 lower face indices: 0, 5, 4 lower face indices: 0, 6, 1 lower face indices: 0, 6, 2 lower face indices: 0, 6, 3 lower face indices: 0, 6, 4 lower face indices: 0, 6, 5 lower face indices: 1, 3, 2 lower face indices: 1, 4, 2 lower face indices: 1, 4, 3 lower face indices: 1, 5, 2 lower face indices: 1, 5, 3 lower face indices: 1, 5, 4 lower face indices: 1, 6, 2 lower face indices: 1, 6, 3 lower face indices: 1, 6, 4 lower face indices: 1, 6, 5 lower face indices: 2, 4, 3 lower face indices: 2, 5, 3 lower face indices: 2, 5, 4 lower face indices: 2, 6, 3 lower face indices: 2, 6, 4 lower face indices: 2, 6, 5 lower face indices: 3, 5, 4 lower face indices: 3, 6, 4 lower face indices: 3, 6, 5 lower face indices: 4, 6, 5 A total of 35 lower faces found. CORRECT! The number of lower faces is equal to {7 choose 3} = 35 ./io Let X=1234.567890 Default Printout of X : -1234.57 Printout of X after setprecision(10) : -1234.567890 -- so `output width' (=10 here) counts the decimal point Printout of X after setprecision(6): -1234.57 -- so the default width is 6 Printout of X after setScientificFormat(): -1.23457e+3 -- the width remains set at 6 -- but decimal point in Scientific width is not counted! -- Note the rounding of the last digit Printout of X after setprecision(10) : -1.234567890e+3 Printout of X after setprecision(11) : -1.2345678900e+3 -- an artificial zero digit is printed Printout of X after setprecision(12) : -1.23456789000e+3 -- another artificial zero digit! Printout of X after setprecision(100) : -1.23456788999999999e+3 -- Should print correctly Printout of X after setprecision(200) : -1.23456788999999999e+3 -- Should see print out errors! FIX: set defInputDigits to INFTY before reading X printout X after setprecision(20) : -1.2345678900000000000e+3 Try Again: printout X after setprecision(200) : -1.2345678900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e+3 -- Should see no printout errors! Printout of X after setPositionalFormat(): -1234.5678900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Printout of X after setprecision(11): -1234.5678900 -- only one extra zero printed, as expected Printout of X after setprecision(5): -1234.6 -- rounding to a 4-digit integer Printout of X after setprecision(4): -1.235e+3 -- we are forced to go to scientific format To see what happens if X were not exact, we next set Y = 1/3. Here Y is an expression We evaluate Y relative precision 53 (15.9 digits) by calling setDefaultPrecision(53,CORE_INFTY). Output In Positional Format Cout precision 12: 0.33333333333 Cout precision 15: 0.33333333333333 Cout precision 16: 0.333333333333333 -- no guarantee that you will see more digits! Cout precision 17: 0.3333333333333333 -- you may see more because CORE has exceeded the requirements! Cout precision 18: 0.33333333333333333 Cout precision 19: 0.333333333333333333 Cout precision 20: 0.3333333333333333333 Cout precision 21: 0.33333333333333333333 Cout precision 22: 0.33333333333333333333 Cout precision 23: 0.33333333333333333333 Cout precision 24: 0.33333333333333333333 Cout precision 25: 0.33333333333333333333 Cout precision 26: 0.33333333333333333333 Cout precision 27: 0.33333333333333333333 Cout precision 28: 0.33333333333333333333 Cout precision 29: 0.33333333333333333333 Cout precision 30: 0.33333333333333333333 Cout precision 31: 0.33333333333333333333 THE NUMBER OF OUTPUT DIGITS SHOULD STOP SOMEWHAT BEFORE 31 SINCE CORE EXCEEDS THE REQUESTED PRECISION BY A FACTOR of 2 To unsure that you really see 31 DIGITS, we must compute to 102 relative bits of precision: by calling Y.approx(103, CORE_INFTY) Cout precision 31: 0.333333333333333333333333333333 Cout precision 36: 0.333333333333333333333333333333333 Cout precision 41: 0.333333333333333333333333333333333 Cout precision 46: 0.333333333333333333333333333333333 Cout precision 51: 0.333333333333333333333333333333333 Now, we do Y.approx(123, CORE_INFTY) Cout precision 51: 0.33333333333333333333333333333333333333333 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/tutorial' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/chullGraham' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include graham.cpp -o graham.o g++ graham.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o graham make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/chullGraham' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/curves' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tCurves.cpp -o tCurves.o g++ tCurves.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tCurves make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/curves' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/delaunay' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include dt2.cpp -o dt2.o g++ dt2.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o dt2 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/delaunay' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/ieee' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tDoubleValue.cpp -o tDoubleValue.o g++ tDoubleValue.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tDoubleValue make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/ieee' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/gaussian' g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include gaussian.cpp -o gaussian_level3.o g++ gaussian_level3.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o gaussian_level3 g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include gaussian.cpp -o gaussian_level1.o g++ gaussian_level1.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o gaussian_level1 rm gaussian_level3.o gaussian_level1.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/gaussian' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/geom2d' g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include testLine.cpp -o testLine.o g++ testLine.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testLine g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include pointOnCircle.cpp -o pointOnCircle.o g++ pointOnCircle.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o pointOnCircle make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/geom2d' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/geom3d' g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include lines2d.cpp -o lines2d_level3.o g++ lines2d_level3.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o lines2d_level3 g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include lines3d.cpp -o lines3d_level1.o g++ lines3d_level1.o -lcorex++_level1 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o lines3d_level1 rm lines3d_level1.o lines2d_level3.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/geom3d' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/heron' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include heron.cpp -o heron.o g++ heron.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o heron make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/heron' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/hypergeom' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include demo.cpp -o demo.o g++ demo.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o demo make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/hypergeom' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/nestedSqrt' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include nestedSqrt.cpp -o nestedSqrt.o g++ nestedSqrt.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o nestedSqrt make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/nestedSqrt' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/pentagon' g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include pentagon.cpp -o pentagon_level3.o g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include transform.cpp -o transform_level3.o g++ pentagon_level3.o transform_level3.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o pentagon_level3 rm transform_level3.o pentagon_level3.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/pentagon' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/prover' g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include prover.cpp -o prover_level3.o prover.cpp: In constructor 'Prover::Prover(char*, int)': prover.cpp:51: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result prover.cpp: In constructor 'Prover::Prover(char*, int)': prover.cpp:51: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result prover.cpp: In constructor 'Prover::Prover(char*, int)': prover.cpp:51: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include terms.cpp -o terms_level3.o g++ prover_level3.o terms_level3.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o prover_level3 rm terms_level3.o prover_level3.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/prover' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/radical' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tRadical.cpp -o tRadical.o g++ tRadical.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tRadical make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/radical' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/testFilter' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include testFilter.cpp -o testFilter.o g++ testFilter.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testFilter g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include createMatrices.cpp -o createMatrices.o g++ createMatrices.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o createMatrices ./createMatrices inputs/200x3x10matrices 200 3 10 Generate 200 random matrices... Done. ./createMatrices inputs/200x4x20matrices 200 4 20 Generate 200 random matrices... Done. ./createMatrices inputs/200x5x30matrices 200 5 30 Generate 200 random matrices... Done. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/testFilter' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/testIO' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include testIO.cpp -o testIO.o g++ testIO.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testIO make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/testIO' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/tests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/tests' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/chullGraham' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include graham4.cpp -o graham4.o g++ graham4.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o graham4 g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include grahamIEEE.cpp -o grahamIEEE.o g++ grahamIEEE.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o grahamIEEE ./grahamIEEE -l < inputs/i4 > outputs/i4-ieee.leda ./graham4 -l < inputs/i19 > outputs/i19w.leda ./graham4 < inputs/i19w > outputs/i19w.ps ./graham4 < inputs/square2000w > outputs/square2000w.ps ./graham4 -l < inputs/square2000w > outputs/square2000w.leda ./graham4 -l < inputs/square1000w > outputs/square1000w.leda ./graham -l < inputs/i4 > outputs/i4.leda ./graham < inputs/i10 > outputs/i10.ps ./graham -l < inputs/i10 > outputs/i10.leda ./graham < inputs/i19 > outputs/i19.ps ./graham -l < inputs/i19 > outputs/i19.leda ./graham < inputs/square1000 > outputs/square1000.ps ./graham -l < inputs/square1000 > outputs/square1000.leda make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/chullGraham' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/curves' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include parseCurve.cpp -o parseCurve.o g++ parseCurve.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o parseCurve g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tIntersect.cpp -o tIntersect.o g++ tIntersect.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tIntersect g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include plotCurve.cpp -o plotCurve.o g++ plotCurve.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o plotCurve ./parseCurve String is Curve is Zero Polynomial String is x Curve is [x] String isy Curve is [1] * y^1 String is x^23 Curve is [x^23] String is y^21 Curve is [1] * y^21 String is 2354354 Curve is [2354354] String is - x^3 Curve is [-x^3] String is (y^7) Curve is [1] * y^7 String is (x^2)^2 Curve is [x^4] String is 234 x^2 y^3 Curve is [234*x^2] * y^3 String is -234 x^2 y^3 Curve is [-234*x^2] * y^3 String is 234 x^2 (y^3) Curve is [234*x^2] * y^3 String is 234 x^2 (y^3)^2 Curve is [234*x^2] * y^6 String is 234 x^2 (y^3) * 2 x Curve is [468*x^3] * y^3 Curve should be x^2 + 2*x y + y^2 Curve is [x^2] + [2x] * y^1 + [1] * y^2 Curve should be y^2 - x^3 Curve is [-x^3] + [1] * y^2 CORRECT! Bipoly created correctly from string Using different place holders : string is 32 u^34 v + 23 - 32 u^3 - 34 v^72 CORRECT! BiPoly created correctly from string Curve is [23-32*x^3] + [32*x^34] * y^1 + [-34] * y^72 Using capital 'X' and 'Y' : string is 32 X^34 Y + 23 - 32 X^3 - 34 Y^72 CORRECT! BiPoly created correctly from string Curve is [23-32*x^3] + [32*x^34] * y^1 + [-34] * y^72 ./tIntersect 1 2 Ellipse Equation is X^2 + 2Y^2 = 1. Cubic1: Y^3 - X^3 + 2XY = Y^3 + (2X)Y + (-X^3) test curve [x^3 -x^5] + [-2x + 2*x^3] * y^1 + [-2*x^3] * y^2 + [-1 + 4*x + x^2] * y^3 + [2] * y^5Current value of x -8.00 Number of roots at -8.00 are 1 CC1 degree = 31 [25-4*x] + [13x] * y^1 + [7x] * y^2 + [3*x^2] * y^31cp data/plot2 data/plot_tCurves1 ./plotCurve "y^2 - x^3" Your curve is: y^2 - x^3 ========================== Current value of x -1.00e+1 Number of roots at 2.00e-2 are 2 Plot parameters: eps = 3.00e-2 xmin = -1.00e+1, xmax = 1.00e+1 ymin = -1.00e+1, ymax = 1.00e+1 ./tCurves 0 The Cissoid of Diocles [Brieskorn-Knorrer, p.9] Equation is - X^3 + 2Y^2 = 0. ========================== [-x^3] + [2] * y^2Current value of x -2.0000 Number of roots at 1.00000e-2 are 2 Plot parameters: eps = 3.0000e-2 xmin = -2.0000, xmax = 5.0000 ymin = -5.0000, ymax = 5.0000 cp data/plot data/plot_tCurves0 ./tCurves 1 Ellipse Equation is X^2 + 2Y^2 = 1. ========================== [-1 + x^2] + [2] * y^2Current value of x -2.0000 Number of roots at -9.8000e-1 are 2 Plot parameters: eps = 3.0000e-2 xmin = -2.0000, xmax = 2.0000 ymin = -2.0000, ymax = 2.0000 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/curves' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/delaunay' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include dt4.cpp -o dt4.o g++ dt4.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o dt4 ./dt4 < inputs/circ12 > outputs/circ20-dt4.ps ./dt4 < inputs/i10 > outputs/i10-dt4.ps ./dt4 < inputs/circ12 > outputs/circ12-dt4.ps ./dt2 < inputs/i10 > outputs/i10.ps # of vertices : 10 Checks: V, E, F = 10 24 16: V-E+F = 2 F = 2V-4 2E = 3F ./dt2 < inputs/circ12 > outputs/circ12.ps # of vertices : 12 ./dt2 -l < inputs/i10 > outputs/i10.leda Output to Leda # of vertices : 10 ./dt2 < inputs/i100 > outputs/i100.ps # of vertices : 100 Checks: V, E, F = 100 294 196: V-E+F = 2 F = 2V-4 2E = 3F make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/delaunay' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/ieee' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include ieeeFormat.cpp -o ieeeFormat.o g++ ieeeFormat.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o ieeeFormat ./ieeeFormat *********************** ENDIAN TESTS ******************* N.B. Solaris is Little Endian, Pentium is Big Endian. This is a Little Endian int! This is a Little Endian long! This is a Little Endian long long! *********************** SIZE TESTS ********************* size of an bool = 1 size of an char = 1 size of an int = 4 size of an unsigned int = 4 size of a long = 4 size of an unsigned long = 4 size of a long long = 8 size of a float = 4 size of a double = 8 *********************** SIGNED ZERO ******************** positive double zero: 0 positive double zero: -0 CORRECT(!) : positive zero = negative zero *********************** INFINITY *********************** Negative Infinity: float = -inf, double = -inf Positive Infinity: float = inf, double = inf double 1.0/0.0 = inf double 1.0/(-0.0) = -inf CORRECT! Have constructed positive infinity *********************** SIGNED NaN ********************** Here are some ways to get NaN Positive NaN: float = nan, double = nan Negative NaN: float = nan, double = nan N.B. On Solaris, the next 4 divisions only produce +NaN's. N.B. On Pentium, the next 4 divisions only produce -NaN's. double 0.0/0.0 : nan float 0.0/0.0 : nan float -0.0/0.0 : nan double 0.0/-0.0 : nan ./tDoubleValue =========================================================== OUTPUT PRECISION : 18 =========================================================== ===================================================== baseVal = 0.123456789012345 e = Expr(baseVal) = 0.12345678901234500 d = atof(baseVal) = 0.123456789012344997 e.doubleValue() = 0.123456789012344997 (should be same as previous value) [lb, ub] = (0.123456789012344997, 0.123456789012345011) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = 0.12345678901234503 d+ 2^{-52+d.exp} = 0.123456789012345025 e.doubleValue() = 0.123456789012345025 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (0.123456789012345025, 0.123456789012345039) CORRECT! e is inside [lb, ub] ===================================================== ===================================================== baseVal = 0 e = Expr(baseVal) = 0 d = atof(baseVal) = 0 e.doubleValue() = 0 (should be same as previous value) [lb, ub] = (0, 0) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = 2.22044604925031308e-16 d+ 2^{-52+d.exp} = 2.22044604925031308e-16 e.doubleValue() = 2.22044604925031308e-16 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (2.22044604925031308e-16, 2.22044604925031308e-16) CORRECT! e is inside [lb, ub] ===================================================== ===================================================== baseVal = 1 e = Expr(baseVal) = 1. d = atof(baseVal) = 1 e.doubleValue() = 1 (should be same as previous value) [lb, ub] = (1, 1) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = 1.00000000000000044 d+ 2^{-52+d.exp} = 1.00000000000000044 e.doubleValue() = 1.00000000000000044 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (1.00000000000000044, 1.00000000000000044) CORRECT! e is inside [lb, ub] ===================================================== ===================================================== baseVal = -1 e = Expr(baseVal) = -1. d = atof(baseVal) = -1 e.doubleValue() = -1 (should be same as previous value) [lb, ub] = (-1, -1) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = -0.99999999999999956 d+ 2^{-52+d.exp} = -0.999999999999999556 e.doubleValue() = -0.999999999999999556 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (-0.999999999999999556, -0.999999999999999556) CORRECT! e is inside [lb, ub] ===================================================== ===================================================== baseVal = 123 e = Expr(baseVal) = 123. d = atof(baseVal) = 123 e.doubleValue() = 123 (should be same as previous value) [lb, ub] = (123, 123) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = 123.000000000000028 d+ 2^{-52+d.exp} = 123.000000000000028 e.doubleValue() = 123.000000000000028 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (123.000000000000028, 123.000000000000028) CORRECT! e is inside [lb, ub] ===================================================== ===================================================== baseVal = 0.123 e = Expr(baseVal) = 0.12300000000000000 d = atof(baseVal) = 0.122999999999999998 e.doubleValue() = 0.122999999999999998 (should be same as previous value) [lb, ub] = (0.122999999999999998, 0.123000000000000012) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = 0.12300000000000003 d+ 2^{-52+d.exp} = 0.123000000000000026 e.doubleValue() = 0.123000000000000026 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (0.123000000000000026, 0.12300000000000004) CORRECT! e is inside [lb, ub] ===================================================== ===================================================== baseVal = .123 e = Expr(baseVal) = 0.12300000000000000 d = atof(baseVal) = 0.122999999999999998 e.doubleValue() = 0.122999999999999998 (should be same as previous value) [lb, ub] = (0.122999999999999998, 0.123000000000000012) CORRECT! e is inside [lb, ub] NEXT, modify e to next representable double value e+ 2^{-52+e.exp} = 0.12300000000000003 d+ 2^{-52+d.exp} = 0.123000000000000026 e.doubleValue() = 0.123000000000000026 (should be same as previous value) NEXT, get the double Interval containing e, d [lb, ub] = (0.123000000000000026, 0.12300000000000004) CORRECT! e is inside [lb, ub] ===================================================== make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/ieee' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/gaussian' g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include gaussianX.cpp -o gaussianX_level3.o g++ gaussianX_level3.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o gaussianX_level3 g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include gaussianX.cpp -o gaussianX_level1.o g++ gaussianX_level1.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o gaussianX_level1 ./gaussian_level3 inputs/gregA 3 Determinant = 0.9999999999999999999999999999999999999 ./gaussian_level1 inputs/gregA 3 Determinant = 0.9999999999894981783654657192528247833252 ./gaussian_level3 inputs/gregE 3 Determinant = -118.939999999999999999999999999999 ./gaussian_level1 inputs/gregE 3 Determinant = 0.9999999999894981783654657192528247833252 ./gaussian_level3 inputs/MatHilbert6 3 Determinant = 0.000000000000000005367299887358687732789 ./gaussian_level1 inputs/MatHilbert6 3 Determinant = nan ./gaussian_level3 inputs/MatZero4 3 Determinant = 0 ./gaussian_level1 inputs/MatZero4 3 Determinant = 2.99760216648792265914380550384521484375e-15 rm gaussianX_level3.o gaussianX_level1.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/gaussian' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/geom2d' g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include testPoint.cpp -o testPoint.o g++ testPoint.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testPoint g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include pointInput.cpp -o pointInput.o g++ pointInput.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o pointInput g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include convexHull.cpp -o convexHull.o g++ convexHull.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o convexHull ./testPoint /* *************** DEFINITION OF POINTS ************* */ /* *************** IDENTITY TESTS ******************* */ p1 != b (CORRECT!) /* *************** orientation2d TESTS***************** */ orientation2d of (a,b,c) = 1 (1=ccw, 0=collinear, -1=cw) orientation2d of (a,c,b) = -1 (1=ccw, 0=collinear, -1=cw) orientation2d of (a,p1,p) = 1 (1=ccw, 0=collinear, -1=cw) /* *************** DISTANCE COMPUTATION ************** */ Distance (a, b) = 5.00000 Distance (p1, p2) = 4.47214 Distance (p2, p1) = 4.47214 Check if the last 2 distances are equal They are equal (CORRECT!) /* *************** AREA COMPUTATION ****************** */ Twice Area of triangle (a,b,c) = 60. Twice Area of triangle (a,p,p1) = -0.77854 Twice Area of triangle (a,p1,p) = 0.77854 /* *************** COLLINEARITY TESTS **************** */ Are a, b, c collinear? 0 Are a, p1, p2 collinear? 1 (1=collinear, 0=noncollinear) Are a, p1, p collinear? 0 (1=collinear, 0=noncollinear) /* *************** BETWEEN TESTS **************** */ CORRECT! Point2d(178.950,-2805.55) is between Point2d(123.4,-5678.9) and Point2d(234.5,67.8) ./pointInput < inputs/p2d_10 n= 10 0: Point2d(1.,1.) 1: Point2d(-1.,2.) 2: Point2d(1.,-3.) 3: Point2d(1.,4.) 4: Point2d(9.20000,-5.) 5: Point2d(8.10000,6.) 6: Point2d(7.,7.) 7: Point2d(0,8.) 8: Point2d(0,0) 9: Point2d(1.,9.) ./pointInput < inputs/p2d_4 n= 4 0: Point2d(1.,1.) 1: Point2d(-1.,2.) 2: Point2d(1.,-3.) 3: Point2d(0,4.) ./convexHull The program will test which of the following points are on the convex hull p[0] = Point2d(0,0) p[1] = Point2d(10,1) p[2] = Point2d(8,2) p[3] = Point2d(6,5) p[4] = Point2d(10,10) p[5] = Point2d(-5,-5) p[6] = Point2d(0,9) p[7] = Point2d(-1,7) p[8] = Point2d(5,-6) p[9] = Point2d(8,0) Bruteforce Algorithm: For each pair of points, if all the other points have the same orientation, then this pair of points are on the convex hull The following points are on the convex hull p[1] = Point2d(10,1) p[4] = Point2d(10,10) p[5] = Point2d(-5,-5) p[6] = Point2d(0,9) p[7] = Point2d(-1,7) p[8] = Point2d(5,-6) ./testLine Point a = Point2d(0,0) Point b = Point2d(10,2.64575) Point c = Point2d(5,8.66025) Point C = Point2d(5,8.66025) In triangle(a, b, c), g1 is the bisector of line a-b :Line2d[Point2d(6.32288,-3.67712)===Point2d(3.67712,6.32288);Vector(2.64575,-10.0000)] g2 is the bisector of line a-c :Line2d[Point2d(6.83013,1.83013)===Point2d(-1.83013,6.83013);Vector(8.66025,-5.00000)] g3 is the bisector of line b-c :Line2d[Point2d(10.5073,8.15300)===Point2d(4.49275,3.15300);Vector(6.01450,5.00000)] but G3 is a perturbation of g3 :Line2d[Point2d(10.5073,8.15300)===Point2d(4.49275,3.15300);Vector(6.01450,5.00000)] g1 and g2 intersect at p1 = Point2d(4.51164,3.16871) g2 and g3 intersect at p2 = Point2d(4.51164,3.16871) g3 and g1 intersect at p3 = Point2d(4.51164,3.16871) G3 and g1 intersects at P3 = Point2d(4.51164,3.16871) p1 = p2 (CORRECT!) p1 = p3 (CORRECT!) p2 = p3 (CORRECT!) p2 != P3 (CORRECT!) ./pointOnCircle Circle c1: Circle2d[ center=Point2d(2.,2.), radius=2.00000] This program tests if given points are on the circle Points test[0] - test[3] and p4 should be on the circle while the others are not p4(0, 2) is on the circle (CORRECT!) sqrt(2.0) = 1.41421 point[0] Point2d(3.73205,1) is on the circle (CORRECT!) point[1] Point2d(3.41421,3.41421) is on the circle (CORRECT!) point[2] Point2d(0.58579,3.41421) is on the circle (CORRECT!) point[3] Point2d(0.26795,1) is on the circle (CORRECT!) point[4] Point2d(5,6) is not on the circle (CORRECT!) point[5] Point2d(-2,3) is not on the circle (CORRECT!) point[6] Point2d(-1,-2) is not on the circle (CORRECT!) point[7] Point2d(2,-3) is not on the circle (CORRECT!) make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/geom2d' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/geom3d' g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include lines2d.cpp -o lines2d_level1.o g++ lines2d_level1.o -lcorex++_level1 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o lines2d_level1 g++ -c -DCORE_LEVEL=3 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include lines3d.cpp -o lines3d_level3.o g++ lines3d_level3.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o lines3d_level3 ./lines2d_level1 On plane P:685; Not on Plane P: 339 INCORRECT! (But OK when not in CORE_LEVEL 3) ./lines3d_level3 par: 625, skew: 0, intersect: 0 CORRECT! ./lines2d_level3 On plane P:1024; Not on Plane P: 0 CORRECT! ./lines3d_level1 par: 525, skew: 100, intersect: 69 INCORRECT! (But OK when not in CORE_LEVEL 3) rm lines2d_level1.o lines3d_level3.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/geom3d' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/heron' make[2]: Nothing to be done for `moretest'. ./heron ---------------------------------------------------------------------- Relative Precision is 54 Print Digits is 11 ---------------------------------------------------------------------- ------------------- Problem 1 -------------------------- (a,b,c) = (10, 10, 10) Kahan's Area = 43.30127020 Core's Area = 43.301270189 ------------------- Problem 2 -------------------------- (a,b,c) = (-3, 5, 2) Kahan's Area = Invalid (but expected) Core's Area = Invalid Input Detected ------------------- Problem 3 -------------------------- (a,b,c) = (100000, 99999.99979, 0.00029) Kahan's Area = 9.999999990 Core's Area = 9.9999999895 ------------------- Problem 4 -------------------------- (a,b,c) = (100000, 100000, 1.00005) Kahan's Area = 50002.50003 Core's Area = 50002.499999 ------------------- Problem 5 -------------------------- (a,b,c) = (99999.99996, 99999.99994, 0.00003) Kahan's Area = 1.118033988 Core's Area = 1.1180339882 ------------------- Problem 6 -------------------------- (a,b,c) = (99999.99996, 0.00003, 99999.99994) Kahan's Area = 1.118033988 Core's Area = 1.1180339882 ------------------- Problem 7 -------------------------- (a,b,c) = (10000, 5000.000001, 15000) Kahan's Area = 612.3724358 Core's Area = 612.37243572 ------------------- Problem 8 -------------------------- (a,b,c) = (99999.99999, 99999.99999, 200000) Kahan's Area = Invalid (but expected) Core's Area = Invalid Input Detected ------------------- Problem 9 -------------------------- (a,b,c) = (5278.64055, 94721.35941, 99999.99996) Kahan's Area = 0 Core's Area = 0 ------------------- Problem 10 -------------------------- (a,b,c) = (100002, 100002, 200004) Kahan's Area = 0 Core's Area = 0 ------------------- Problem 11 -------------------------- (a,b,c) = (31622.77662, 0.000023, 31622.77661) Kahan's Area = 0.327490458 Core's Area = 0.3274904580 ------------------- Problem 12 -------------------------- (a,b,c) = (31622.77662, 0.0155555, 31622.77661) Kahan's Area = 245.9540000 Core's Area = 245.95399999 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/heron' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/hypergeom' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include demoPi.cpp -o demoPi.o g++ demoPi.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o demoPi ./demoPi 0.1 100 > output/pi_100.out Computing Pi as ArcCos(0.10000) + ArcCos(-0.10000) ./demoPi -0.7 200 > output/pi_200.out Computing Pi as ArcCos(-0.70000) + ArcCos(0.70000) ./demo sin 0.01 3.14 0.07 300 > output/sin.out2 Computing sin function... start from 0.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing sin(0.010000)... computing sin(0.080000)... computing sin(0.150000)... computing sin(0.220000)... computing sin(0.290000)... computing sin(0.360000)... computing sin(0.430000)... computing sin(0.500000)... computing sin(0.570000)... computing sin(0.640000)... computing sin(0.710000)... computing sin(0.780000)... computing sin(0.850000)... computing sin(0.920000)... computing sin(0.990000)... computing sin(1.060000)... computing sin(1.130000)... computing sin(1.200000)... computing sin(1.270000)... computing sin(1.340000)... computing sin(1.410000)... computing sin(1.480000)... computing sin(1.550000)... computing sin(1.620000)... computing sin(1.690000)... computing sin(1.760000)... computing sin(1.830000)... computing sin(1.900000)... computing sin(1.970000)... computing sin(2.040000)... computing sin(2.110000)... computing sin(2.180000)... computing sin(2.250000)... computing sin(2.320000)... computing sin(2.390000)... computing sin(2.460000)... computing sin(2.530000)... computing sin(2.600000)... computing sin(2.670000)... computing sin(2.740000)... computing sin(2.810000)... computing sin(2.880000)... computing sin(2.950000)... computing sin(3.020000)... computing sin(3.090000)... ./demo cos 0.01 3.14 0.07 300 > output/cos.out2 Computing cos function... start from 0.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing cos(0.010000)... computing cos(0.080000)... computing cos(0.150000)... computing cos(0.220000)... computing cos(0.290000)... computing cos(0.360000)... computing cos(0.430000)... computing cos(0.500000)... computing cos(0.570000)... computing cos(0.640000)... computing cos(0.710000)... computing cos(0.780000)... computing cos(0.850000)... computing cos(0.920000)... computing cos(0.990000)... computing cos(1.060000)... computing cos(1.130000)... computing cos(1.200000)... computing cos(1.270000)... computing cos(1.340000)... computing cos(1.410000)... computing cos(1.480000)... computing cos(1.550000)... computing cos(1.620000)... computing cos(1.690000)... computing cos(1.760000)... computing cos(1.830000)... computing cos(1.900000)... computing cos(1.970000)... computing cos(2.040000)... computing cos(2.110000)... computing cos(2.180000)... computing cos(2.250000)... computing cos(2.320000)... computing cos(2.390000)... computing cos(2.460000)... computing cos(2.530000)... computing cos(2.600000)... computing cos(2.670000)... computing cos(2.740000)... computing cos(2.810000)... computing cos(2.880000)... computing cos(2.950000)... computing cos(3.020000)... computing cos(3.090000)... ./demo tan 0.01 3.14 0.07 300 > output/tan.out2 Computing tan function... start from 0.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing tan(0.010000)... computing tan(0.080000)... computing tan(0.150000)... computing tan(0.220000)... computing tan(0.290000)... computing tan(0.360000)... computing tan(0.430000)... computing tan(0.500000)... computing tan(0.570000)... computing tan(0.640000)... computing tan(0.710000)... computing tan(0.780000)... computing tan(0.850000)... computing tan(0.920000)... computing tan(0.990000)... computing tan(1.060000)... computing tan(1.130000)... computing tan(1.200000)... computing tan(1.270000)... computing tan(1.340000)... computing tan(1.410000)... computing tan(1.480000)... computing tan(1.550000)... computing tan(1.620000)... computing tan(1.690000)... computing tan(1.760000)... computing tan(1.830000)... computing tan(1.900000)... computing tan(1.970000)... computing tan(2.040000)... computing tan(2.110000)... computing tan(2.180000)... computing tan(2.250000)... computing tan(2.320000)... computing tan(2.390000)... computing tan(2.460000)... computing tan(2.530000)... computing tan(2.600000)... computing tan(2.670000)... computing tan(2.740000)... computing tan(2.810000)... computing tan(2.880000)... computing tan(2.950000)... computing tan(3.020000)... computing tan(3.090000)... ./demo cot 0.01 3.14 0.07 300 > output/cot.out2 Computing cot function... start from 0.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing cot(0.010000)... computing cot(0.080000)... computing cot(0.150000)... computing cot(0.220000)... computing cot(0.290000)... computing cot(0.360000)... computing cot(0.430000)... computing cot(0.500000)... computing cot(0.570000)... computing cot(0.640000)... computing cot(0.710000)... computing cot(0.780000)... computing cot(0.850000)... computing cot(0.920000)... computing cot(0.990000)... computing cot(1.060000)... computing cot(1.130000)... computing cot(1.200000)... computing cot(1.270000)... computing cot(1.340000)... computing cot(1.410000)... computing cot(1.480000)... computing cot(1.550000)... computing cot(1.620000)... computing cot(1.690000)... computing cot(1.760000)... computing cot(1.830000)... computing cot(1.900000)... computing cot(1.970000)... computing cot(2.040000)... computing cot(2.110000)... computing cot(2.180000)... computing cot(2.250000)... computing cot(2.320000)... computing cot(2.390000)... computing cot(2.460000)... computing cot(2.530000)... computing cot(2.600000)... computing cot(2.670000)... computing cot(2.740000)... computing cot(2.810000)... computing cot(2.880000)... computing cot(2.950000)... computing cot(3.020000)... computing cot(3.090000)... ./demo arcsin 0.01 1.00 0.07 300 > output/arcsin.out2 Computing arcsin function... start from 0.01 to 1 by step 0.07 output digits = 300 eps = 996 computing arcsin(0.010000)... computing arcsin(0.080000)... computing arcsin(0.150000)... computing arcsin(0.220000)... computing arcsin(0.290000)... computing arcsin(0.360000)... computing arcsin(0.430000)... computing arcsin(0.500000)... computing arcsin(0.570000)... computing arcsin(0.640000)... computing arcsin(0.710000)... computing arcsin(0.780000)... computing arcsin(0.850000)... computing arcsin(0.920000)... computing arcsin(0.990000)... ./demo arccos 0.01 1.00 0.07 300 > output/arccos.out2 Computing arccos function... start from 0.01 to 1 by step 0.07 output digits = 300 eps = 996 computing arccos(0.010000)... computing arccos(0.080000)... computing arccos(0.150000)... computing arccos(0.220000)... computing arccos(0.290000)... computing arccos(0.360000)... computing arccos(0.430000)... computing arccos(0.500000)... computing arccos(0.570000)... computing arccos(0.640000)... computing arccos(0.710000)... computing arccos(0.780000)... computing arccos(0.850000)... computing arccos(0.920000)... computing arccos(0.990000)... ./demo arctan 0.01 1.00 0.07 300 > output/arctan.out2 Computing arctan function... start from 0.01 to 1 by step 0.07 output digits = 300 eps = 996 computing arctan(0.010000)... computing arctan(0.080000)... computing arctan(0.150000)... computing arctan(0.220000)... computing arctan(0.290000)... computing arctan(0.360000)... computing arctan(0.430000)... computing arctan(0.500000)... computing arctan(0.570000)... computing arctan(0.640000)... computing arctan(0.710000)... computing arctan(0.780000)... computing arctan(0.850000)... computing arctan(0.920000)... computing arctan(0.990000)... ./demo exp 0.01 3.14 0.07 300 > output/exp.out2 Computing exp function... start from 0.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing exp(0.010000)... computing exp(0.080000)... computing exp(0.150000)... computing exp(0.220000)... computing exp(0.290000)... computing exp(0.360000)... computing exp(0.430000)... computing exp(0.500000)... computing exp(0.570000)... computing exp(0.640000)... computing exp(0.710000)... computing exp(0.780000)... computing exp(0.850000)... computing exp(0.920000)... computing exp(0.990000)... computing exp(1.060000)... computing exp(1.130000)... computing exp(1.200000)... computing exp(1.270000)... computing exp(1.340000)... computing exp(1.410000)... computing exp(1.480000)... computing exp(1.550000)... computing exp(1.620000)... computing exp(1.690000)... computing exp(1.760000)... computing exp(1.830000)... computing exp(1.900000)... computing exp(1.970000)... computing exp(2.040000)... computing exp(2.110000)... computing exp(2.180000)... computing exp(2.250000)... computing exp(2.320000)... computing exp(2.390000)... computing exp(2.460000)... computing exp(2.530000)... computing exp(2.600000)... computing exp(2.670000)... computing exp(2.740000)... computing exp(2.810000)... computing exp(2.880000)... computing exp(2.950000)... computing exp(3.020000)... computing exp(3.090000)... ./demo erf 0.01 3.14 0.07 300 > output/erf.out2 Computing erf function... start from 0.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing erf(0.010000)... computing erf(0.080000)... computing erf(0.150000)... computing erf(0.220000)... computing erf(0.290000)... computing erf(0.360000)... computing erf(0.430000)... computing erf(0.500000)... computing erf(0.570000)... computing erf(0.640000)... computing erf(0.710000)... computing erf(0.780000)... computing erf(0.850000)... computing erf(0.920000)... computing erf(0.990000)... computing erf(1.060000)... computing erf(1.130000)... computing erf(1.200000)... computing erf(1.270000)... computing erf(1.340000)... computing erf(1.410000)... computing erf(1.480000)... computing erf(1.550000)... computing erf(1.620000)... computing erf(1.690000)... computing erf(1.760000)... computing erf(1.830000)... computing erf(1.900000)... computing erf(1.970000)... computing erf(2.040000)... computing erf(2.110000)... computing erf(2.180000)... computing erf(2.250000)... computing erf(2.320000)... computing erf(2.390000)... computing erf(2.460000)... computing erf(2.530000)... computing erf(2.600000)... computing erf(2.670000)... computing erf(2.740000)... computing erf(2.810000)... computing erf(2.880000)... computing erf(2.950000)... computing erf(3.020000)... computing erf(3.090000)... ./demo log 1.01 3.14 0.07 300 > output/log.out: Computing log function... start from 1.01 to 3.14 by step 0.07 output digits = 300 eps = 996 computing log(1.010000)... computing log(1.080000)... computing log(1.150000)... computing log(1.220000)... computing log(1.290000)... computing log(1.360000)... computing log(1.430000)... computing log(1.500000)... computing log(1.570000)... computing log(1.640000)... computing log(1.710000)... computing log(1.780000)... computing log(1.850000)... computing log(1.920000)... computing log(1.990000)... computing log(2.060000)... computing log(2.130000)... computing log(2.200000)... computing log(2.270000)... computing log(2.340000)... computing log(2.410000)... computing log(2.480000)... computing log(2.550000)... computing log(2.620000)... computing log(2.690000)... computing log(2.760000)... computing log(2.830000)... computing log(2.900000)... computing log(2.970000)... computing log(3.040000)... computing log(3.110000)... ./demo sin 0.01 1.57 0.8 300 > output/sin.out Computing sin function... start from 0.01 to 1.57 by step 0.8 output digits = 300 eps = 996 computing sin(0.010000)... computing sin(0.810000)... ./demo cos 0.01 1.57 0.8 300 > output/cos.out Computing cos function... start from 0.01 to 1.57 by step 0.8 output digits = 300 eps = 996 computing cos(0.010000)... computing cos(0.810000)... ./demo tan 0.01 1.57 0.8 300 > output/tan.out Computing tan function... start from 0.01 to 1.57 by step 0.8 output digits = 300 eps = 996 computing tan(0.010000)... computing tan(0.810000)... ./demo cot 0.01 1.57 0.8 300 > output/cot.out Computing cot function... start from 0.01 to 1.57 by step 0.8 output digits = 300 eps = 996 computing cot(0.010000)... computing cot(0.810000)... ./demo arcsin 0.01 0.40 0.6 300 > output/arcsin.out Computing arcsin function... start from 0.01 to 0.4 by step 0.6 output digits = 300 eps = 996 computing arcsin(0.010000)... ./demo arccos 0.1 0.20 0.4 300 > output/arccos.out Computing arccos function... start from 0.1 to 0.2 by step 0.4 output digits = 300 eps = 996 computing arccos(0.100000)... ./demo arctan 0.01 0.40 0.6 300 > output/arctan.out Computing arctan function... start from 0.01 to 0.4 by step 0.6 output digits = 300 eps = 996 computing arctan(0.010000)... ./demo exp 0.01 2.00 0.7 300 > output/exp.out Computing exp function... start from 0.01 to 2 by step 0.7 output digits = 300 eps = 996 computing exp(0.010000)... computing exp(0.710000)... computing exp(1.410000)... ./demo erf 0.01 2.00 0.7 300 > output/erf.out Computing erf function... start from 0.01 to 2 by step 0.7 output digits = 300 eps = 996 computing erf(0.010000)... computing erf(0.710000)... computing erf(1.410000)... ./demo log 1.00 2.00 0.7 300 > output/log.out Computing log function... start from 1 to 2 by step 0.7 output digits = 300 eps = 996 computing log(1.000000)... computing log(1.700000)... make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/hypergeom' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/nestedSqrt' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include nestedSqrtX.cpp -o nestedSqrtX.o g++ nestedSqrtX.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o nestedSqrtX ./nestedSqrtX ================== NestedSqrtX ================ =============================================== Nesting depth is 4 (default) x = 2.25000000000000 (default) E = SQRE(2.25000000000000, 4) = 431439.8832739891950041055679321289062500 where SQRE(x,k)= SQRE(x,k-1)**2 and SQRE(x,0)=x E1 = SQRT(E + 1, 4) - x = 3.259430865480185733560360737300902884992e-7 (N.B. E1 should be very small positive number) ( lg(E1) ~ -22) E0 = SQRT(E, 4) - x = 0 (CORRECT!! E0 is identically zero) =============================================== ./nestedSqrt Default nesting depth is 4; you can provide the nesting depth in the command line, e.g., nestedSqrt 6 E = SQRE(2, 4) = 65536. where SQRE(2,k)= SQRE(2,k-1)**2 e = SQRT(E-1, 4) = 1.999998092637724632530830167435302245842 where SQRT(F,k)= sqrt(log(F,k-1)) e - 2 = -0.000001907362275367469169832564697754158 N.B. e - 2 should a very small negative number make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/nestedSqrt' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/pentagon' g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include pentagon.cpp -o pentagon_level1.o g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include transform.cpp -o transform_level1.o g++ pentagon_level1.o transform_level1.o -lcorex++_level1 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o pentagon_level1 ./pentagon_level1 EscapePrec=30000 round=1 make[2]: *** [moretest] Segmentation fault rm pentagon_level1.o transform_level1.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/pentagon' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/prover' g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include prover.cpp -o prover_level1.o prover.cpp: In constructor 'Prover::Prover(char*, int)': prover.cpp:51: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result prover.cpp: In constructor 'Prover::Prover(char*, int)': prover.cpp:51: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result prover.cpp: In constructor 'Prover::Prover(char*, int)': prover.cpp:51: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result g++ -c -DCORE_LEVEL=1 -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include terms.cpp -o terms_level1.o g++ prover_level1.o terms_level1.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o prover_level1 ./prover_level3 inputs/pappusBad 5 Value of the polynomial thesis: -6.03840e+10 The geometric conjecture is FALSE ./prover_level1 inputs/pappusBad 5 Value of the polynomial thesis: -6.0384e+10 The geometric conjecture is FALSE ./prover_level1 inputs/pappus 10 Value of the polynomial thesis: -0.000274658 The geometric conjecture is FALSE ./prover_level3 inputs/simson 2 Quadratic Equation: delta < 0 Random Parameters: 1.67337e+06 1.65077e+06 -162367 1.92477e+06 Dependent Variables: 33717.6 8.36685e+5 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -973543 -193102 -452352 -1.74572e+06 Dependent Variables: -59597.0 -4.86772e+5 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -479077 331780 1.26943e+06 -519174 Dependent Variables: 7.40679e+5 -2.39539e+5 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: 1.48252e+06 94886 1.29466e+06 -1.58613e+06 Dependent Variables: 5.96480e+5 7.41263e+5 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -1.96712e+06 -485489 810997 1.92652e+06 Dependent Variables: -37976.1 -9.83558e+5 0 0 0 0 0 The geometric conjecture is TRUE with probability 0.75 ./prover_level1 inputs/simson 2 Quadratic Equation: delta < 0 Random Parameters: 1.67337e+06 1.65077e+06 -162367 1.92477e+06 Dependent Variables: 33717.6 836685 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -973543 -193102 -452352 -1.74572e+06 Dependent Variables: -59597 -486772 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -479077 331780 1.26943e+06 -519174 Dependent Variables: 740679 -239538 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: 1.48252e+06 94886 1.29466e+06 -1.58613e+06 Dependent Variables: 596480 741262 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -1.96712e+06 -485489 810997 1.92652e+06 Dependent Variables: -37976.1 -983557 0 0 0 0 0 Value of the polynomial thesis: -6.10352e-05 The geometric conjecture is FALSE ./prover_level3 inputs/simsonBad 3 Quadratic Equation: delta < 0 Random Parameters: 1.67337e+06 1.65077e+06 -162367 1.92477e+06 Dependent Variables: -2844.29 8.36685e+5 0 0 0 0 0 Quadratic Equation: delta < 0 Random Parameters: -973543 -193102 -452352 -1.74572e+06 Dependent Variables: -15442.8 -4.86772e+5 0 0 0 0 0 Value of the polynomial thesis: -6.64765e+11 The geometric conjecture is FALSE ./prover_level3 inputs/pappus 10 The geometric conjecture is TRUE with probability 0.999023 rm prover_level1.o terms_level1.o make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/prover' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/radical' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tUC.cpp -o tUC.o g++ tUC.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tUC g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_RAT tRadical.cpp -o tRadicalRat.o g++ tRadicalRat.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tRadicalRat g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_INT tRadical.cpp -o tRadicalInt.o g++ tRadicalInt.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tRadicalInt g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_EXP tRadical.cpp -o tRadicalExp.o g++ tRadicalExp.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tRadicalExp g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_BF tRadical.cpp -o tRadicalBF.o g++ tRadicalBF.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tRadicalBF ./tUC Testing some small expressions ============================== outputPrec = 40, eps = 132 2^{1/8}-494/453 = 0.00000000639594198591782743280 10^{1/8}-4/3 = 0.000188098829990692342598 sqrt(176)+sqrt(195)+45-sqrt(190)-sqrt(398)-sqrt(1482) = -0.000000000000000000068042022806502064451 ./tRadicalRat -1 outputPrec = 40, eps = 132 CORRECT! for radical(1,k), k=1, 1000 CORRECT! for radical(m,1), m=2, 12345 CORRECT! for radical(m,i), (m=2,789), i = 1 CORRECT! for radical(m,i), (m=2,789), i = 2 CORRECT! for radical(m,i), (m=2,789), i = 3 CORRECT! for radical(m,i), (m=2,789), i = 4 CORRECT! for radical(m,i), (m=2,789), i = 5 CORRECT! for radical(m,i), (m=2,789), i = 6 CORRECT! for radical(m,i), (m=2,789), i = 7 CORRECT! for radical(m,i), (m=2,789), i = 8 CORRECT! for radical(m,i), (m=2,789), i = 9 CORRECT! for radical(m,i), (m=2,789), i = 10 CORRECT! for radical(i,k), (k=7,20), i = 1000 CORRECT! for radical(i,k), (k=7,20), i = 1001 CORRECT! for radical(i,k), (k=7,20), i = 1002 CORRECT! for radical(i,k), (k=7,20), i = 1003 CORRECT! for radical(i,k), (k=7,20), i = 1004 CORRECT! for radical(i,k), (k=7,20), i = 1005 CORRECT! for radical(i,k), (k=7,20), i = 1006 CORRECT! for radical(i,k), (k=7,20), i = 1007 CORRECT! for radical(i,k), (k=7,20), i = 1008 CORRECT! for radical(i,k), (k=7,20), i = 1009 CORRECT! for radical(i,k), (k=7,20), i = 1010 ./tRadicalBF -1 outputPrec = 40, eps = 132 CORRECT! for radical(1,k), k=1, 1000 CORRECT! for radical(m,1), m=2, 12345 CORRECT! for radical(m,i), (m=2,789), i = 1 CORRECT! for radical(m,i), (m=2,789), i = 2 CORRECT! for radical(m,i), (m=2,789), i = 3 CORRECT! for radical(m,i), (m=2,789), i = 4 CORRECT! for radical(m,i), (m=2,789), i = 5 CORRECT! for radical(m,i), (m=2,789), i = 6 CORRECT! for radical(m,i), (m=2,789), i = 7 CORRECT! for radical(m,i), (m=2,789), i = 8 CORRECT! for radical(m,i), (m=2,789), i = 9 CORRECT! for radical(m,i), (m=2,789), i = 10 CORRECT! for radical(i,k), (k=7,20), i = 1000 CORRECT! for radical(i,k), (k=7,20), i = 1001 CORRECT! for radical(i,k), (k=7,20), i = 1002 CORRECT! for radical(i,k), (k=7,20), i = 1003 CORRECT! for radical(i,k), (k=7,20), i = 1004 CORRECT! for radical(i,k), (k=7,20), i = 1005 CORRECT! for radical(i,k), (k=7,20), i = 1006 CORRECT! for radical(i,k), (k=7,20), i = 1007 CORRECT! for radical(i,k), (k=7,20), i = 1008 CORRECT! for radical(i,k), (k=7,20), i = 1009 CORRECT! for radical(i,k), (k=7,20), i = 1010 bf=0.000000003930791054808610335453977757680 e=0.000062696021044469882175428703338158140 p=0.000000003930791054808610335453977757680 CORRECT! bf=0.000000003930791055853848992365784376091 e=0.000062696021052805647662850469816877070 p=0.000000003930791055853848992365784376091 CORRECT! bf=0.000000003930791056899087649277590994501 e=0.000062696021061141413149163952466969462 p=0.000000003930791056899087649277590994501 CORRECT! bf=0.000000003930791057944326306189397612911 e=0.000062696021069477178634369151288877374 p=0.000000003930791057944326306189397612911 CORRECT! bf=0.000000003930791058989564963101204231322 e=0.000062696021077812944118466066283042861 p=0.000000003930791058989564963101204231322 CORRECT! bf=0.000000003930791060034803620013010849732 e=0.000062696021086148709601454697449907979 p=0.000000003930791060034803620013010849732 CORRECT! bf=0.000000003930791061080042276924817468142 e=0.000062696021094484475083335044789914786 p=0.000000003930791061080042276924817468142 CORRECT! bf=0.000000003930791062125280933836624086553 e=0.000062696021102820240564107108303505338 p=0.000000003930791062125280933836624086553 CORRECT! bf=0.000000003930791063170519590748430704963 e=0.000062696021111156006043770887991121691 p=0.000000003930791063170519590748430704963 CORRECT! bf=0.000000003930791064215758247660237323373 e=0.000062696021119491771522326383853205902 p=0.000000003930791064215758247660237323373 CORRECT! bf=0.000000003930791065260996904572043941783 e=0.000062696021127827536999773595890200027 p=0.000000003930791065260996904572043941783 CORRECT! bf=0.000000003930791066306235561483850560194 e=0.000062696021136163302476112524102546123 p=0.000000003930791066306235561483850560194 CORRECT! bf=0.000000003930791067351474218395657178604 e=0.000062696021144499067951343168490686246 p=0.000000003930791067351474218395657178604 CORRECT! bf=0.000000003930791068396712875307463797014 e=0.000062696021152834833425465529055062453 p=0.000000003930791068396712875307463797014 CORRECT! bf=0.000000003930791069441951532219270415425 e=0.000062696021161170598898479605796116800 p=0.000000003930791069441951532219270415425 CORRECT! bf=0.000000003930791070487190189131077033835 e=0.000062696021169506364370385398714291343 p=0.000000003930791070487190189131077033835 CORRECT! bf=0.000000003930791071532428846042883652245 e=0.000062696021177842129841182907810028140 p=0.000000003930791071532428846042883652245 CORRECT! bf=0.000000003930791072577667502954690270656 e=0.000062696021186177895310872133083769246 p=0.000000003930791072577667502954690270656 CORRECT! bf=0.000000003930791073622906159866496889066 e=0.000062696021194513660779453074535956718 p=0.000000003930791073622906159866496889066 CORRECT! bf=0.000000003930791074668144816778303507476 e=0.000062696021202849426246925732167032613 p=0.000000003930791074668144816778303507476 CORRECT! bf=0.000000003930791075713383473690110125887 e=0.000062696021211185191713290105977438987 p=0.000000003930791075713383473690110125887 CORRECT! bf=0.000000003930791076758622130601916744297 e=0.000062696021219520957178546195967617896 p=0.000000003930791076758622130601916744297 CORRECT! bf=0.000000003930791077803860787513723362707 e=0.000062696021227856722642694002138011397 p=0.000000003930791077803860787513723362707 CORRECT! bf=0.000000003930791078849099444425529981118 e=0.000062696021236192488105733524489061546 p=0.000000003930791078849099444425529981118 CORRECT! bf=0.000000003930791079894338101337336599528 e=0.000062696021244528253567664763021210401 p=0.000000003930791079894338101337336599528 CORRECT! bf=0.000000003930791080939576758249143217938 e=0.000062696021252864019028487717734900016 p=0.000000003930791080939576758249143217938 CORRECT! bf=0.000000003930791081984815415160949836348 e=0.000062696021261199784488202388630572450 p=0.000000003930791081984815415160949836348 CORRECT! bf=0.000000003930791083030054072072756454759 e=0.000062696021269535549946808775708669758 p=0.000000003930791083030054072072756454759 CORRECT! bf=0.000000003930791084075292728984563073169 e=0.000062696021277871315404306878969633997 p=0.000000003930791084075292728984563073169 CORRECT! bf=0.000000003930791085120531385896369691579 e=0.000062696021286207080860696698413907222 p=0.000000003930791085120531385896369691579 CORRECT! bf=0.000000003930791086165770042808176309990 e=0.000062696021294542846315978234041931492 p=0.000000003930791086165770042808176309990 CORRECT! bf=0.000000003930791087211008699719982928400 e=0.000062696021302878611770151485854148862 p=0.000000003930791087211008699719982928400 CORRECT! bf=0.000000003930791088256247356631789546810 e=0.000062696021311214377223216453851001388 p=0.000000003930791088256247356631789546810 CORRECT! bf=0.000000003930791089301486013543596165221 e=0.000062696021319550142675173138032931128 p=0.000000003930791089301486013543596165221 CORRECT! bf=0.000000003930791090346724670455402783631 e=0.000062696021327885908126021538400380137 p=0.000000003930791090346724670455402783631 CORRECT! bf=0.000000003930791091391963327367209402041 e=0.000062696021336221673575761654953790472 p=0.000000003930791091391963327367209402041 CORRECT! bf=0.000000003930791092437201984279016020452 e=0.000062696021344557439024393487693604189 p=0.000000003930791092437201984279016020452 CORRECT! bf=0.000000003930791093482440641190822638862 e=0.000062696021352893204471917036620263346 p=0.000000003930791093482440641190822638862 CORRECT! bf=0.000000003930791094527679298102629257272 e=0.000062696021361228969918332301734209998 p=0.000000003930791094527679298102629257272 CORRECT! bf=0.000000003930791095572917955014435875682 e=0.000062696021369564735363639283035886202 p=0.000000003930791095572917955014435875682 CORRECT! bf=0.000000003930791096618156611926242494093 e=0.000062696021377900500807837980525734015 p=0.000000003930791096618156611926242494093 CORRECT! bf=0.000000003930791097663395268838049112503 e=0.000062696021386236266250928394204195492 p=0.000000003930791097663395268838049112503 CORRECT! bf=0.000000003930791098708633925749855730913 e=0.000062696021394572031692910524071712690 p=0.000000003930791098708633925749855730913 CORRECT! bf=0.000000003930791099753872582661662349324 e=0.000062696021402907797133784370128727667 p=0.000000003930791099753872582661662349324 CORRECT! bf=0.000000003930791100799111239573468967734 e=0.000062696021411243562573549932375682478 p=0.000000003930791100799111239573468967734 CORRECT! bf=0.000000003930791101844349896485275586144 e=0.000062696021419579328012207210813019179 p=0.000000003930791101844349896485275586144 CORRECT! bf=0.000000003930791102889588553397082204555 e=0.000062696021427915093449756205441179827 p=0.000000003930791102889588553397082204555 CORRECT! bf=0.000000003930791103934827210308888822965 e=0.000062696021436250858886196916260606480 p=0.000000003930791103934827210308888822965 CORRECT! bf=0.000000003930791104980065867220695441375 e=0.000062696021444586624321529343271741192 p=0.000000003930791104980065867220695441375 CORRECT! bf=0.000000003930791106025304524132502059786 e=0.000062696021452922389755753486475026021 p=0.000000003930791106025304524132502059786 CORRECT! bf=0.000000003930791107070543181044308678196 e=0.000062696021461258155188869345870903023 p=0.000000003930791107070543181044308678196 CORRECT! bf=0.000000003930791108115781837956115296606 e=0.000062696021469593920620876921459814254 p=0.000000003930791108115781837956115296606 CORRECT! bf=0.000000003930791109161020494867921915016 e=0.000062696021477929686051776213242201772 p=0.000000003930791109161020494867921915016 CORRECT! bf=0.000000003930791110206259151779728533427 e=0.000062696021486265451481567221218507632 p=0.000000003930791110206259151779728533427 CORRECT! bf=0.000000003930791111251497808691535151837 e=0.000062696021494601216910249945389173890 p=0.000000003930791111251497808691535151837 CORRECT! bf=0.000000003930791112296736465603341770247 e=0.000062696021502936982337824385754642604 p=0.000000003930791112296736465603341770247 CORRECT! bf=0.000000003930791113341975122515148388658 e=0.000062696021511272747764290542315355830 p=0.000000003930791113341975122515148388658 CORRECT! bf=0.000000003930791114387213779426955007068 e=0.000062696021519608513189648415071755625 p=0.000000003930791114387213779426955007068 CORRECT! bf=0.000000003930791115432452436338761625478 e=0.000062696021527944278613898004024284044 p=0.000000003930791115432452436338761625478 CORRECT! bf=0.000000003930791116477691093250568243889 e=0.000062696021536280044037039309173383144 p=0.000000003930791116477691093250568243889 CORRECT! bf=0.000000003930791117522929750162374862299 e=0.000062696021544615809459072330519494982 p=0.000000003930791117522929750162374862299 CORRECT! bf=0.000000003930791118568168407074181480709 e=0.000062696021552951574879997068063061614 p=0.000000003930791118568168407074181480709 CORRECT! bf=0.000000003930791119613407063985988099120 e=0.000062696021561287340299813521804525096 p=0.000000003930791119613407063985988099120 CORRECT! bf=0.000000003930791120658645720897794717530 e=0.000062696021569623105718521691744327486 p=0.000000003930791120658645720897794717530 CORRECT! bf=0.000000003930791121703884377809601335940 e=0.000062696021577958871136121577882910839 p=0.000000003930791121703884377809601335940 CORRECT! bf=0.000000003930791122749123034721407954351 e=0.000062696021586294636552613180220717212 p=0.000000003930791122749123034721407954351 CORRECT! bf=0.000000003930791123794361691633214572761 e=0.000062696021594630401967996498758188662 p=0.000000003930791123794361691633214572761 CORRECT! bf=0.000000003930791124839600348545021191171 e=0.000062696021602966167382271533495767244 p=0.000000003930791124839600348545021191171 CORRECT! bf=0.000000003930791125884839005456827809581 e=0.000062696021611301932795438284433895016 p=0.000000003930791125884839005456827809581 CORRECT! bf=0.000000003930791126930077662368634427992 e=0.000062696021619637698207496751573014034 p=0.000000003930791126930077662368634427992 CORRECT! bf=0.000000003930791127975316319280441046402 e=0.000062696021627973463618446934913566354 p=0.000000003930791127975316319280441046402 CORRECT! bf=0.000000003930791129020554976192247664812 e=0.000062696021636309229028288834455994032 p=0.000000003930791129020554976192247664812 CORRECT! bf=0.000000003930791130065793633104054283223 e=0.000062696021644644994437022450200739126 p=0.000000003930791130065793633104054283223 CORRECT! bf=0.000000003930791131111032290015860901633 e=0.000062696021652980759844647782148243692 p=0.000000003930791131111032290015860901633 CORRECT! bf=0.000000003930791132156270946927667520043 e=0.000062696021661316525251164830298949785 p=0.000000003930791132156270946927667520043 CORRECT! bf=0.000000003930791133201509603839474138454 e=0.000062696021669652290656573594653299463 p=0.000000003930791133201509603839474138454 CORRECT! bf=0.000000003930791134246748260751280756864 e=0.000062696021677988056060874075211734783 p=0.000000003930791134246748260751280756864 CORRECT! bf=0.000000003930791135291986917663087375274 e=0.000062696021686323821464066271974697799 p=0.000000003930791135291986917663087375274 CORRECT! bf=0.000000003930791136337225574574893993685 e=0.000062696021694659586866150184942630570 p=0.000000003930791136337225574574893993685 CORRECT! bf=0.000000003930791137382464231486700612095 e=0.000062696021702995352267125814115975151 p=0.000000003930791137382464231486700612095 CORRECT! bf=0.000000003930791138427702888398507230505 e=0.000062696021711331117666993159495173598 p=0.000000003930791138427702888398507230505 CORRECT! bf=0.000000003930791139472941545310313848915 e=0.000062696021719666883065752221080667969 p=0.000000003930791139472941545310313848915 CORRECT! bf=0.000000003930791140518180202222120467326 e=0.000062696021728002648463402998872900320 p=0.000000003930791140518180202222120467326 CORRECT! bf=0.000000003930791141563418859133927085736 e=0.000062696021736338413859945492872312707 p=0.000000003930791141563418859133927085736 CORRECT! bf=0.000000003930791142608657516045733704146 e=0.000062696021744674179255379703079347187 p=0.000000003930791142608657516045733704146 CORRECT! bf=0.000000003930791143653896172957540322557 e=0.000062696021753009944649705629494445816 p=0.000000003930791143653896172957540322557 CORRECT! bf=0.000000003930791144699134829869346940967 e=0.000062696021761345710042923272118050650 p=0.000000003930791144699134829869346940967 CORRECT! bf=0.000000003930791145744373486781153559377 e=0.000062696021769681475435032630950603746 p=0.000000003930791145744373486781153559377 CORRECT! bf=0.000000003930791146789612143692960177788 e=0.000062696021778017240826033705992547161 p=0.000000003930791146789612143692960177788 CORRECT! bf=0.000000003930791147834850800604766796198 e=0.000062696021786353006215926497244322951 p=0.000000003930791147834850800604766796198 CORRECT! bf=0.000000003930791148880089457516573414608 e=0.000062696021794688771604711004706373172 p=0.000000003930791148880089457516573414608 CORRECT! bf=0.000000003930791149925328114428380033019 e=0.000062696021803024536992387228379139881 p=0.000000003930791149925328114428380033019 CORRECT! bf=0.000000003930791150970566771340186651429 e=0.000062696021811360302378955168263065134 p=0.000000003930791150970566771340186651429 CORRECT! bf=0.000000003930791152015805428251993269839 e=0.000062696021819696067764414824358590988 p=0.000000003930791152015805428251993269839 CORRECT! bf=0.000000003930791153061044085163799888250 e=0.000062696021828031833148766196666159499 p=0.000000003930791153061044085163799888250 CORRECT! bf=0.000000003930791154106282742075606506660 e=0.000062696021836367598532009285186212724 p=0.000000003930791154106282742075606506660 CORRECT! bf=0.000000003930791155151521398987413125070 e=0.000062696021844703363914144089919192719 p=0.000000003930791155151521398987413125070 CORRECT! bf=0.000000003930791156196760055899219743480 e=0.000062696021853039129295170610865541540 p=0.000000003930791156196760055899219743480 CORRECT! bf=0.000000003930791157241998712811026361891 e=0.000062696021861374894675088848025701245 p=0.000000003930791157241998712811026361891 CORRECT! bf=0.000000003930791158287237369722832980301 e=0.000062696021869710660053898801400113889 p=0.000000003930791158287237369722832980301 CORRECT! ./tRadicalExp -1 outputPrec = 40, eps = 132 CORRECT! for radical(1,k), k=1, 1000 CORRECT! for radical(m,1), m=2, 12345 CORRECT! for radical(m,i), (m=2,789), i = 1 CORRECT! for radical(m,i), (m=2,789), i = 2 CORRECT! for radical(m,i), (m=2,789), i = 3 CORRECT! for radical(m,i), (m=2,789), i = 4 CORRECT! for radical(m,i), (m=2,789), i = 5 CORRECT! for radical(m,i), (m=2,789), i = 6 CORRECT! for radical(m,i), (m=2,789), i = 7 CORRECT! for radical(m,i), (m=2,789), i = 8 CORRECT! for radical(m,i), (m=2,789), i = 9 CORRECT! for radical(m,i), (m=2,789), i = 10 CORRECT! for radical(i,k), (k=7,20), i = 1000 CORRECT! for radical(i,k), (k=7,20), i = 1001 CORRECT! for radical(i,k), (k=7,20), i = 1002 CORRECT! for radical(i,k), (k=7,20), i = 1003 CORRECT! for radical(i,k), (k=7,20), i = 1004 CORRECT! for radical(i,k), (k=7,20), i = 1005 CORRECT! for radical(i,k), (k=7,20), i = 1006 CORRECT! for radical(i,k), (k=7,20), i = 1007 CORRECT! for radical(i,k), (k=7,20), i = 1008 CORRECT! for radical(i,k), (k=7,20), i = 1009 CORRECT! for radical(i,k), (k=7,20), i = 1010 ./tRadicalInt -1 outputPrec = 40, eps = 132 CORRECT! for radical(1,k), k=1, 1000 CORRECT! for radical(m,1), m=2, 12345 CORRECT! for radical(m,i), (m=2,789), i = 1 CORRECT! for radical(m,i), (m=2,789), i = 2 CORRECT! for radical(m,i), (m=2,789), i = 3 CORRECT! for radical(m,i), (m=2,789), i = 4 CORRECT! for radical(m,i), (m=2,789), i = 5 CORRECT! for radical(m,i), (m=2,789), i = 6 CORRECT! for radical(m,i), (m=2,789), i = 7 CORRECT! for radical(m,i), (m=2,789), i = 8 CORRECT! for radical(m,i), (m=2,789), i = 9 CORRECT! for radical(m,i), (m=2,789), i = 10 CORRECT! for radical(i,k), (k=7,20), i = 1000 CORRECT! for radical(i,k), (k=7,20), i = 1001 CORRECT! for radical(i,k), (k=7,20), i = 1002 CORRECT! for radical(i,k), (k=7,20), i = 1003 CORRECT! for radical(i,k), (k=7,20), i = 1004 CORRECT! for radical(i,k), (k=7,20), i = 1005 CORRECT! for radical(i,k), (k=7,20), i = 1006 CORRECT! for radical(i,k), (k=7,20), i = 1007 CORRECT! for radical(i,k), (k=7,20), i = 1008 CORRECT! for radical(i,k), (k=7,20), i = 1009 CORRECT! for radical(i,k), (k=7,20), i = 1010 ./tRadical -1 outputPrec = 40, eps = 132 CORRECT! for radical(1,k), k=1, 1000 CORRECT! for radical(m,1), m=2, 12345 CORRECT! for radical(m,i), (m=2,789), i = 1 CORRECT! for radical(m,i), (m=2,789), i = 2 CORRECT! for radical(m,i), (m=2,789), i = 3 CORRECT! for radical(m,i), (m=2,789), i = 4 CORRECT! for radical(m,i), (m=2,789), i = 5 CORRECT! for radical(m,i), (m=2,789), i = 6 CORRECT! for radical(m,i), (m=2,789), i = 7 CORRECT! for radical(m,i), (m=2,789), i = 8 CORRECT! for radical(m,i), (m=2,789), i = 9 CORRECT! for radical(m,i), (m=2,789), i = 10 CORRECT! for radical(i,k), (k=7,20), i = 1000 CORRECT! for radical(i,k), (k=7,20), i = 1001 CORRECT! for radical(i,k), (k=7,20), i = 1002 CORRECT! for radical(i,k), (k=7,20), i = 1003 CORRECT! for radical(i,k), (k=7,20), i = 1004 CORRECT! for radical(i,k), (k=7,20), i = 1005 CORRECT! for radical(i,k), (k=7,20), i = 1006 CORRECT! for radical(i,k), (k=7,20), i = 1007 CORRECT! for radical(i,k), (k=7,20), i = 1008 CORRECT! for radical(i,k), (k=7,20), i = 1009 CORRECT! for radical(i,k), (k=7,20), i = 1010 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/radical' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/testFilter' ./createMatrices inputs/1000x2x10matrices 1000 2 10 Generate 1000 random matrices... Done. ./createMatrices inputs/1000x3x10matrices 1000 3 10 Generate 1000 random matrices... Done. ./createMatrices inputs/1000x4x10matrices 1000 4 10 Generate 1000 random matrices... Done. ./createMatrices inputs/500x5x10matrices 500 5 10 Generate 500 random matrices... Done. ./createMatrices inputs/500x6x10matrices 500 6 10 Generate 500 random matrices... Done. ./createMatrices inputs/500x7x10matrices 500 7 10 Generate 500 random matrices... Done. ./createMatrices inputs/500x8x10matrices 500 8 10 Generate 500 random matrices... Done. ./testFilter inputs/1000x2x10matrices CORRECT! Total USER time spent w/ filter : 0 seconds Total USER time spent w/o filter : 0.15 seconds Speedup: 100% ./testFilter inputs/1000x3x10matrices CORRECT! Total USER time spent w/ filter : 0 seconds Total USER time spent w/o filter : 0.6 seconds Speedup: 100% ./testFilter inputs/1000x4x10matrices CORRECT! Total USER time spent w/ filter : 0.02 seconds Total USER time spent w/o filter : 1.44 seconds Speedup: 98.6111% ./testFilter inputs/500x5x10matrices CORRECT! Total USER time spent w/ filter : 0.28 seconds Total USER time spent w/o filter : 1.71 seconds Speedup: 83.6257% ./testFilter inputs/500x6x10matrices CORRECT! Total USER time spent w/ filter : 1.67 seconds Total USER time spent w/o filter : 3.35 seconds Speedup: 50.1493% ./testFilter inputs/500x7x10matrices CORRECT! Total USER time spent w/ filter : 4.02 seconds Total USER time spent w/o filter : 6.3 seconds Speedup: 36.1905% ./testFilter inputs/500x8x10matrices CORRECT! Total USER time spent w/ filter : 7.66 seconds Total USER time spent w/o filter : 10.48 seconds Speedup: 26.9084% ./createMatrices inputs/200x3x10matrices 200 3 10 Generate 200 random matrices... Done. ./createMatrices inputs/200x4x20matrices 200 4 20 Generate 200 random matrices... Done. ./createMatrices inputs/200x5x30matrices 200 5 30 Generate 200 random matrices... Done. ./testFilter inputs/200x3x10matrices CORRECT! Total USER time spent w/ filter : 0 seconds Total USER time spent w/o filter : 0.1 seconds Speedup: 100% ./testFilter inputs/200x4x20matrices CORRECT! Total USER time spent w/ filter : 0.01 seconds Total USER time spent w/o filter : 0.29 seconds Speedup: 96.5517% ./testFilter inputs/200x5x30matrices CORRECT! Total USER time spent w/ filter : 0.07 seconds Total USER time spent w/o filter : 0.71 seconds Speedup: 90.1408% make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/testFilter' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/testIO' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include testSqrt.cpp -o testSqrt.o g++ testSqrt.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testSqrt ./testSqrt 997 10 1 ===================== SETPRECISION(15) ================== Expr: sqrt(997) = 31.5753068076939 doubleVal: sqrt(997) = 31.5753068076939 Machine: sqrt(997) = 31.5753068076939 STRING OUTPUT = 31.57530681 ===================== SETPRECISION(14) ================== Expr: sqrt(997) = 31.575306807694 doubleVal: sqrt(997) = 31.575306807694 Machine: sqrt(997) = 31.575306807694 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(998) = 31.5911379978626 doubleVal: sqrt(998) = 31.5911379978626 Machine: sqrt(998) = 31.5911379978626 STRING OUTPUT = 31.59113800 ===================== SETPRECISION(14) ================== Expr: sqrt(998) = 31.591137997863 doubleVal: sqrt(998) = 31.591137997863 Machine: sqrt(998) = 31.591137997863 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(999) = 31.6069612585582 doubleVal: sqrt(999) = 31.6069612585582 Machine: sqrt(999) = 31.6069612585582 STRING OUTPUT = 31.60696126 ===================== SETPRECISION(14) ================== Expr: sqrt(999) = 31.606961258558 doubleVal: sqrt(999) = 31.606961258558 Machine: sqrt(999) = 31.606961258558 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1000) = 31.6227766016838 doubleVal: sqrt(1000) = 31.6227766016838 Machine: sqrt(1000) = 31.6227766016838 STRING OUTPUT = 31.62277660 ===================== SETPRECISION(14) ================== Expr: sqrt(1000) = 31.622776601684 doubleVal: sqrt(1000) = 31.622776601684 Machine: sqrt(1000) = 31.622776601684 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1001) = 31.6385840391127 doubleVal: sqrt(1001) = 31.6385840391127 Machine: sqrt(1001) = 31.6385840391128 STRING OUTPUT = 31.63858404 ===================== SETPRECISION(14) ================== Expr: sqrt(1001) = 31.638584039113 doubleVal: sqrt(1001) = 31.638584039113 Machine: sqrt(1001) = 31.638584039113 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== WARNING: | doubleVal - MachineVal | = 1.1229053975388e-16 ================= SUMMARY: Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1002) = 31.6543835826888 doubleVal: sqrt(1002) = 31.6543835826888 Machine: sqrt(1002) = 31.6543835826888 STRING OUTPUT = 31.65438358 ===================== SETPRECISION(14) ================== Expr: sqrt(1002) = 31.654383582689 doubleVal: sqrt(1002) = 31.654383582689 Machine: sqrt(1002) = 31.654383582689 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1003) = 31.6701752442262 doubleVal: sqrt(1003) = 31.6701752442262 Machine: sqrt(1003) = 31.6701752442262 STRING OUTPUT = 31.67017524 ===================== SETPRECISION(14) ================== Expr: sqrt(1003) = 31.670175244226 doubleVal: sqrt(1003) = 31.670175244226 Machine: sqrt(1003) = 31.670175244226 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== WARNING: | doubleVal - MachineVal | = 1.1217852921253e-16 ================= SUMMARY: Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1004) = 31.6859590355097 doubleVal: sqrt(1004) = 31.6859590355097 Machine: sqrt(1004) = 31.6859590355097 STRING OUTPUT = 31.68595904 ===================== SETPRECISION(14) ================== Expr: sqrt(1004) = 31.685959035510 doubleVal: sqrt(1004) = 31.68595903551 Machine: sqrt(1004) = 31.68595903551 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1005) = 31.7017349682947 doubleVal: sqrt(1005) = 31.7017349682947 Machine: sqrt(1005) = 31.7017349682947 STRING OUTPUT = 31.70173497 ===================== SETPRECISION(14) ================== Expr: sqrt(1005) = 31.701734968295 doubleVal: sqrt(1005) = 31.701734968295 Machine: sqrt(1005) = 31.701734968295 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ===================== SETPRECISION(15) ================== Expr: sqrt(1006) = 31.7175030543074 doubleVal: sqrt(1006) = 31.7175030543074 Machine: sqrt(1006) = 31.7175030543074 STRING OUTPUT = 31.71750305 ===================== SETPRECISION(14) ================== Expr: sqrt(1006) = 31.717503054307 doubleVal: sqrt(1006) = 31.717503054307 Machine: sqrt(1006) = 31.717503054307 ======= NOTE: the last three output should agree ===== ===================== SELF-VALIDATION =================== CORRECT: doubleVal = MachineVal !! ================= SUMMARY: Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! RelErr <= ErrBound ./testIO OUTPUT FOR THE Expr VALUE 1.0/3.0 computed to relative precision 120: (1) Output In Positional Notation Default std::cout precision (=8): 0.3333333 Cout precision 12: 0.33333333333 Cout precision 36: 0.33333333333333333333333333333333333 Cout precision 37: 0.333333333333333333333333333333333333 Cout precision 38: 0.3333333333333333333333333333333333333 Cout precision 39: 0.33333333333333333333333333333333333333 Cout precision 40: 0.333333333333333333333333333333333333333 Cout precision 41: 0.3333333333333333333333333333333333333333 Cout precision 42: 0.33333333333333333333333333333333333333333 Cout precision 43: 0.33333333333333333333333333333333333333333 Cout precision 44: 0.33333333333333333333333333333333333333333 Cout precision 46: 0.33333333333333333333333333333333333333333 Cout precision 48: 0.33333333333333333333333333333333333333333 N.B. 120 bits = 36.123 digits. Above, we have asked to see more and more bits of the computed value. The output will indeed show more and more bits, until all significant bits are used up. This should happen AFTER 37 digits but hopefully before 48 digits (2) Output In Scientific Notation Default Cout precision:3.333333333e-1 Cout precision 12: 3.33333333333e-1 Cout precision 24: 3.33333333333333333333333e-1 Cout precision 25: 3.333333333333333333333333e-1 Cout precision 36: 3.33333333333333333333333333333333333e-1 Cout precision 48: 3.3333333333333333333333333333333333333333e-1 (3) Default Print Digits (a Core library parameter) Output precision: 6, precision [r=67, a=INFTY] one_third = 0.33333 Output precision: 20, precision [r=67, a=INFTY] one_third = 0.3333333333333333333 The precision is not sufficient for 30 decimal digits! Output precision: 30, precision [r=67, a=INFTY] one_third = 0.33333333333333333333333333333 Set the precision to [r=100, a=INFTY] to get it right: Output precision: 30, precision [r=100, a=INFTY] one_third = 0.33333333333333333333333333333 Precisions: [54, INFTY] (simulating machine double precision) This print out 16 digits... e0 ( 0.01234 ) : 0.0123400000 e1 ( 0.00000000012345 ) : 0.0000000001 e2 ( 0.0000000001234567890123 ) : 0.0000000001 e3 ( 1.2 ) : 1.2000000000 e4 ( 123.456 ) : 123.4560000000 e5 ( 123456789 ) : 123456789.0000000000 e6 ( 123456789.0123456 ) : 123456789.0123455971 e7 ( 1234567890123.456 ) : 1.234567890e+12 e8 ( 1234567890123456.0 ) : 1234567890123456.0000000000 e9 ( 0.023 ) : 0.0230000000 e10 ( 123456789.50001 ) : 123456789.5000099987 e11 ( 123456789.49999 ) : 123456789.4999900013 e12 ( 199999999.50001 ) : 199999999.5000100136 e13 ( 999999999.50001 ) : 999999999.5000100136 ne0 ( -.01234 ) : -0.0123400000 ne1 ( -0.00000000012345 ) : -0.0000000001 ne2 ( -0.0000000001234567890123) : -0.0000000001 ne3 ( -1.2 ) : -1.2000000000 ne4 ( -123.456 ) : -123.4560000000 ne5 ( -123456789 ) : -123456789.0000000000 ne6 ( -123456789.0123456 ) : -123456789.0123455971 ne7 ( -1234567890123.456 ) : -1234567890123.4560546875 ne8 ( -1234567890123456.0 ) : -1234567890123456.0000000000 ne9 ( -0.023 ) : -0.0230000000 test reals BigRat Real Q(1/3): 0.3333333 Real R1("1/3"): 0.3333333 BigFloat Real X(1/3): 0.3333333 sqrt(2/3) = 0.816496581 The literal double constant is not always exact: construct from double constant - (0.023): 0.02299999999999999961 construct from string - (0.023): 0.0230000000000000000 construct from double constant - (1234.567e-5): 0.01234566999999999956 construct from string - (1234.567e-5): 0.0123456700000000000 100010/100010 = 1 r1 = 0.1234567890000000000 r2 = 0.12345678901234567890000, read in exactly r3 = 0.12345678901215251244139, read in with precision 10^{-9} q = 0.333333333, in 10 digits q = 3.3333333333333333333e-1, in scientific notation. q = 0.33333333333333333333, in positional notation. s1 = 1.234e-1; in machine precision, s1 =0.123399999999999995803356966917 s2 = "1.234e-1"; with defInputDigits = 20, , s2 =0.12339999999999999999 a1 = 123/456; in machine precision, a1 =0 a2 = "123/456"; with defInputDigits = 20, a2 = 0.26973684210526315789 a3 = "123/456"; with defInputDigits = INFTY, a3 = 0.26973684210526315789 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/testIO' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/tests' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include floor_ceil.cpp -o floor_ceil.o g++ floor_ceil.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o floor_ceil g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include bench.cpp -o bench.o g++ bench.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o bench ./floor_ceil CORRECT!! floor() and ceil() tested successfully ./bench Doing 10 iterations. root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 323 root bound = 331 root bound = 331 root bound = 331 root bound = 331 root bound = 331 make[2]: Nothing to be done for `test'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/tests' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/bareiss' make[2]: Nothing to be done for `moretest'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/bareiss' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/chull' ./chull_level3 < inputs/cube > outputs/cube.ps Checks: V, E, F = 8 18 12: V-E+F = 2 F = 2V-4 2E = 3F ./chull_level1 -l < inputs/cube > outputs/cube.leda Output for LEDA ./chull_level3 < inputs/points1 > outputs/points1.ps Checks: V, E, F = 18 48 32: V-E+F = 2 F = 2V-4 2E = 3F ./chull4_level3 < inputs/points1 > outputs/points1-4.ps Checks: V, E, F = 13 33 22: V-E+F = 2 F = 2V-4 2E = 3F make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/chull' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/compare' make[2]: Nothing to be done for `moretest'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/compare' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/demos' g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include simple.cpp -o simple.o g++ simple.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o simple3 g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include pointOnPlane.cpp -o pointOnPlane.o g++ pointOnPlane.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o pointOnPlane3 g++ -c -O2 -Wall -DNDEBUG -DCORE_LEVEL=3 -I. -I../../inc -I../../gmp/include golden.cpp -o golden.o g++ golden.o -lcorex++_level3 -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o golden ./simple3 ============================================== >> x = 1.23457e+09 >> y = 1.23457e+09 >> e = sqrt(x) + sqrt(y) >> f = sqrt(x + y + 2*sqrt(x*y)) >> e == f ? yes (CORRECT!) ============================================== Correct Tests = 400 Incorrect Tests = 0 CORRECT! There are no test with error! ./pointOnPlane3 ++++++++++++++++++++++++++++++++++++++++++++++ > Equation of Plane P is Sqrt(2)*X + Y + Z - 1 = 0 > Number of points on plane P = 1024 > Number of points NOT on Plane P = 0 CORRECT! (not a single error) ++++++++++++++++++++++++++++++++++++++++++++++ ./golden ============================================== GOLDEN RATIO TESTS ============================================== Golden ratio, phi = 1.61803 CORRECT! phi^2 = 1+ phi Polynomial Q(X) = 123 + (23)*x^1 + (3)*x^2 + (-2)*x^3 r = rootOf(Q,0) = 5.55893 CORRECT! 2*rrr == 3rr + 23r + 123 make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/demos' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/fileIO' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include IOspeed.cpp -o IOspeed.o g++ IOspeed.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o IOspeed g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include stringIO.cpp -o stringIO.o g++ stringIO.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o stringIO ./IOspeed computing 20000!... Write the result to the file dec.big in base = 10... Done (Time spent: 1.14 seconds) Read the result from the file dec.big... Done (Time spent: 0.61 seconds) ---<>--- Write the result to the file hex.big in base = 16... Done (Time spent: 0 seconds) Read the result from the file hex.big... Done (Time spent: 0.01 seconds) ---<>--- ./stringIO Testing string conversion for BigInt class ------------------------------------------ Computing 500! (Factorial) The result of the BigInt printed by cout 1220136825991110068701238785423046926253574342803192842192413588385845373153881997605496447502203281863013616477148203584163378722078177200480785205159329285477907571939330603772960859086270429174547882424912726344305670173270769461062802310452644218878789465754777149863494367781037644274033827365397471386477878495438489595537537990423241061271326984327745715546309977202781014561081188373709531016356324432987029563896628911658974769572087926928871281780070265174507768410719624390394322536422605234945850129918571501248706961568141625359056693423813008856249246891564126775654481886506593847951775360894005745238940335798476363944905313062323749066445048824665075946735862074637925184200459369692981022263971952597190945217823331756934581508552332820762820023402626907898342451712006207714640979456116127629145951237229913340169552363850942885592018727433795173014586357570828355780158735432768888680120399882384702151467605445407663535984174430480128938313896881639487469658817504506926365338175055478128640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 The result of BigInt.get_str() 1220136825991110068701238785423046926253574342803192842192413588385845373153881997605496447502203281863013616477148203584163378722078177200480785205159329285477907571939330603772960859086270429174547882424912726344305670173270769461062802310452644218878789465754777149863494367781037644274033827365397471386477878495438489595537537990423241061271326984327745715546309977202781014561081188373709531016356324432987029563896628911658974769572087926928871281780070265174507768410719624390394322536422605234945850129918571501248706961568141625359056693423813008856249246891564126775654481886506593847951775360894005745238940335798476363944905313062323749066445048824665075946735862074637925184200459369692981022263971952597190945217823331756934581508552332820762820023402626907898342451712006207714640979456116127629145951237229913340169552363850942885592018727433795173014586357570828355780158735432768888680120399882384702151467605445407663535984174430480128938313896881639487469658817504506926365338175055478128640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 CORRECT! Both strings are equal Testing base conversion: (Convert from binary to decimal and viceversa) The result of BigInt.fromString("11111",2) is: 31 It should print: 31. CORRECT! base conversion is fine The result of BigInt(31).get_str(2) is: 11111 It should print: 11111. CORRECT! BigInt get_str is OK Testing string conversion for BigFloat class -------------------------------------------- Computing 500!/3 Result of BigFloat printed by cout 4.06712e+1133 Result of BigFloat.toString() 4.067122753e+1133 CORRECT! Bigfloat::tostring conversions is OK NOT printing in scientist format: The result of the BigFloat printed by cout 4.06712e+1133 The result of BigFloat.toString() 4.067122753e+1133 CORRECT! BigFloat toString (non-scientific format) OK make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/fileIO' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/fortune' /usr/bin/make -C vor moretest make[3]: Entering directory `/build/buildd/core++-1.7/progs.check/fortune/vor' make[3]: `moretest' is up to date. make[3]: Leaving directory `/build/buildd/core++-1.7/progs.check/fortune/vor' /usr/bin/make -C pred test make[3]: Entering directory `/build/buildd/core++-1.7/progs.check/fortune/pred' g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include pred.cpp -o pred.o g++ pred.o -L../../../lib -L../../../gmp/lib -lcore++ -lgmp -lm -o pred ./pred e1 == e2 ? yes Total USER time spent: 0 seconds Average user time: 0seconds make[3]: Leaving directory `/build/buildd/core++-1.7/progs.check/fortune/pred' /usr/bin/make -C pred moretest make[3]: Entering directory `/build/buildd/core++-1.7/progs.check/fortune/pred' g++ -c -O2 -Wall -DNDEBUG -I. -I../../../inc -I../../../gmp/include pred2.cpp -o pred2.o g++ pred2.o -L../../../lib -L../../../gmp/lib -lcore++ -lgmp -lm -o pred2 ./pred2 r = 265306412252189973, lg(r) = 58 r = 1202289388652333285938961109356413072, lg(r) = 120 r = 112511841846, lg(r) = 37 e1 == e2 ? yes TOTAL time spent: 0 seconds make[3]: Leaving directory `/build/buildd/core++-1.7/progs.check/fortune/pred' make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/fortune' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/generic' make[2]: Nothing to be done for `moretest'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/generic' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/kahan' make[2]: Nothing to be done for `moretest'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/kahan' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/pi' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include pi.cpp -o pi.o g++ pi.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o pi g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include brent.cpp -o brent.o g++ brent.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o brent ./pi 3500 0 0 DOsqrt = 0; DOvalidate = 0 Output precision is 1053 digits Pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270365759591953092186117381932611793105118548074462379962749567351885752724891227938183011949129833673362440656643086021394946395224737190702179860943702770539217176293176752384674818467669405132000568127145263560827785771342757789609173637178721468440901224953430146549585371050792279689258923542019956112129021960864034418159813629774771309960518707211349999998372978049951059731732816096318595024459455346908302642522308253344685035261931188171010003137838752886587533208381420617177669147303598253490428755468731159562863882353787593751957781857780532171226806613001927876611195909216420198938095257201065485863278865936153381827968230301952035 ./brent 6644 1 Output precision is 2000 digits outputPrec = 2000 Pi = 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327886593615338182796823030195203530185296899577362259941389124972177528347913151557485724245415069595082953311686172785588907509838175463746493931925506040092770167113900984882401285836160356370766010471018194295559619894676783744944825537977472684710404753464620804668425906949129331367702898915210475216205696602405803815019351125338243003558764024749647326391419927260426992279678235478163600934172164121992458631503028618297455570674983850549458858692699569092721079750930295532116534498720275596023648066549911988183479775356636980742654252786255181841757467289097777279380008164706001614524919217321721477235014144197356854816136115735255213347574184946843852332390739414333454776241686251898356948556209921922218427255025425688767179049460165346680498862723279178608578438382796797668145410095388378636095068006422512520511739298489608412848862694560424196528502221066118630674427862203919494504712371378696095636437191728746776465757396241389086583264599581339047802759010 minPrec = 250 bigPi = 3.14159265358979323846 pi = 3.14159265358979323846 >> Output value of Pi verified to 250 digits make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/pi' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/poly' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_BINT tNewton.cpp -o tNewton.o g++ tNewton.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tNewton g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tPoly.cpp -o tPoly.o g++ tPoly.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tPoly g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_RAT tPoly.cpp -o tPolyRat.o g++ tPolyRat.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tPolyRat g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_INT tPoly.cpp -o tPolyInt.o g++ tPolyInt.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tPolyInt g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_EXP tPoly.cpp -o tPolyExp.o g++ tPolyExp.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tPolyExp g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_BF tPoly.cpp -o tPolyBF.o g++ tPolyBF.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tPolyBF g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_RAT tSturm.cpp -o tSturmRat.o g++ tSturmRat.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tSturmRat g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_EXP tSturm.cpp -o tSturmExp.o g++ tSturmExp.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tSturmExp g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include -D_NT_INT tSturm.cpp -o tSturmInt.o g++ tSturmInt.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tSturmInt g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tWilk20.cpp -o tWilk20.o g++ tWilk20.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tWilk20 g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tWilk20deriv.cpp -o tWilk20deriv.o g++ tWilk20deriv.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tWilk20deriv g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tKameny4.cpp -o tKameny4.o g++ tKameny4.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tKameny4 g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tGCD.cpp -o tGCD.o g++ tGCD.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tGCD g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include tRootOf.cpp -o tRootOf.o g++ tRootOf.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o tRootOf ./tPoly ================ START OF TEST POLY ================ ================================================ CONSTRUCTORS ================================================ Zero Poly (zP) : > Polynomial ( deg = -1) CORRECT: polyZero() = zP Unity Poly (oneP) : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) CORRECT: polyUnity() = oneP Another Unit Poly U : > Polynomial ( deg = 5, > coeff c0,c1,... = 1, 0, 0, 0, 0, 0) P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Q, copy of P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) ================================================ DUMPING POLYNOMIALS ================================================ > Dumping polynomials to cerr # >This is P4 (output to cerr): # 1 + 2*x + 3*x^2 # + 4*x^3 + 5*x^4> The next is U (unit poly): # 1================================================ EXPAND, CONTRACT, REVERSE, MakeTailCoeffNonzero, NEGATE ================================================ Null extension of Q : > n =-2 (should be -2) > Unchanged Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Expansion of Q : > n =7 (should be 7) > New Q : > Polynomial ( deg = 7, > coeff c0,c1,... = 1, 2, 3, 4, 5, 0, 0, 0) > getTrueDegree(Q) = 4 (should be 4) Reduce Q : > n = 4 (should be 4) > This should be the original Q: > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Nothing to reduce in Q : > n = -2 (CORRECT! n = -2) > Reversed Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 5, 4, 3, 2, 1) CORRECT! reverse(reverse)=ident > Negated Q : > Polynomial ( deg = 4, > coeff c0,c1,... = -1, -2, -3, -4, -5) CORRECT! negate(negate)=ident CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct ================================================ ASSIGNMENT ================================================ Assignment P5=P4 : Here is P5 > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Updated P5 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) ================================================ ARITHMETIC ================================================ Addition, S = P5 + P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = 0, 4, 0, 8, 0, 6) Difference, S = P5 - P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = -2, 0, -6, 0, -10, 6) Scalar Multiply of S * 10 : > Polynomial ( deg = 5, > coeff c0,c1,... = -20, 0, -60, 0, -100, 60) S mulXpower(0) : > Polynomial ( deg = 5, > coeff c0,c1,... = -20, 0, -60, 0, -100, 60) S mulXpower(3) : > Polynomial ( deg = 8, > coeff c0,c1,... = 0, 0, 0, -20, 0, -60, 0, -100, 60) S mulXpower(-4) : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, -60, 0, -100, 60) Unary Minus, -S : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, 60, 0, 100, -60) Product, P = P5 * P4 : > Polynomial ( deg = 9, > coeff c0,c1,... = -1, 0, -2, 0, -3, 6, -2, 18, -1, 30) Power, P5^0 : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) Power, P5^1 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Power, P5^2 : > Polynomial ( deg = 10, > coeff c0,c1,... = 1, -4, 10, -20, 35, -56, 70, -76, 73, -60, 36) Power, P5^3 : > Polynomial ( deg = 15, > coeff c0,c1,... = -1, 6, -21, 56, -126, 252, -441, 684, -954, 1204, -1365, 1344, -1169, 882, -540, 216) ================================================ REMAINDERS ================================================ P7 : > Polynomial ( deg = 7, > coeff c0,c1,... = 0, 0, 0, 1, 2, 3, 4, 5) P2 : > Polynomial ( deg = 2, > coeff c0,c1,... = 2, 0, 3) P7.pseudoRemainder(P2) : > Polynomial ( deg = 1, > coeff c0,c1,... = 8, 22) CORRECT! 22x+8 is pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder P16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1, 8, 36, 120, 330, 768, 1544, 2728, 4275, 5920, 7256, 7848, 7386, 5880, 3900, 2000, 625) p16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1, 8, 36, 120, 330, 768, 1544, 2728, 4275, 5920, 7256, 7848, 7386, 5880, 3900, 2000, 625) CORRECT! pseudoQuotient of (P4)^5 divided P4 CORRECT! pseudoRemainder of (P4)^5 divided P4 is 0 ================================================ EVALUATION ================================================ Evaluation, of P5 : > P5(BigFloat(0)) = -1.> P5(Expr(1)) = 3. > P5(Expr(2)) = 135. > P5(Expr("1.2")) = 8.55392 > P5(Expr(1.2)) = 8.55392 > Is P5(Expr("1.2")) == P5(Expr(1.2)) ? No (CORRECT!) ================================================ DIFFERENTIATION ================================================ Differentiate P5 zero times: > P5 = Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Differentiation, of P5 : > P5' = Polynomial ( deg = 4, > coeff c0,c1,... = 2, -6, 12, -20, 30) Differentiate twice : > P5'' = Polynomial ( deg = 3, > coeff c0,c1,... = -6, 24, -60, 120) Differentiate thrice : > P5''' = Polynomial ( deg = 2, > coeff c0,c1,... = 24, -120, 360) ================================================ COMPARISON ================================================ Testing for Zero Polynomial: > CORRECT! zP is the zero polynomial Testing for Unit Polynomial: > CORRECT! oneP is the unit polynomial Comparing P5 and P4: > CORRECT! they are not equal ================================================ GCD ================================================ ================================================ STREAM I/O ================================================ ================================================ COEFFICIENT MANIPULATION ================================================ Get coefficient array of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Get each coefficients of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Change the 5th coefficients of P4 to 100 CORRECT! Failed to change Change the 3th coefficients of P4 to 100 Here is the new P4: > P4 = Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 100, 5) ================= END OF TEST POLY ================= ================= NT = BigInt ====================== ./tPolyInt ================ START OF TEST POLY ================ ================================================ CONSTRUCTORS ================================================ Zero Poly (zP) : > Polynomial ( deg = -1) CORRECT: polyZero() = zP Unity Poly (oneP) : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) CORRECT: polyUnity() = oneP Another Unit Poly U : > Polynomial ( deg = 5, > coeff c0,c1,... = 1, 0, 0, 0, 0, 0) P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Q, copy of P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) ================================================ DUMPING POLYNOMIALS ================================================ > Dumping polynomials to cerr # >This is P4 (output to cerr): # 1 + 2*x + 3*x^2 # + 4*x^3 + 5*x^4> The next is U (unit poly): # 1================================================ EXPAND, CONTRACT, REVERSE, MakeTailCoeffNonzero, NEGATE ================================================ Null extension of Q : > n =-2 (should be -2) > Unchanged Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Expansion of Q : > n =7 (should be 7) > New Q : > Polynomial ( deg = 7, > coeff c0,c1,... = 1, 2, 3, 4, 5, 0, 0, 0) > getTrueDegree(Q) = 4 (should be 4) Reduce Q : > n = 4 (should be 4) > This should be the original Q: > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Nothing to reduce in Q : > n = -2 (CORRECT! n = -2) > Reversed Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 5, 4, 3, 2, 1) CORRECT! reverse(reverse)=ident > Negated Q : > Polynomial ( deg = 4, > coeff c0,c1,... = -1, -2, -3, -4, -5) CORRECT! negate(negate)=ident CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct ================================================ ASSIGNMENT ================================================ Assignment P5=P4 : Here is P5 > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Updated P5 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) ================================================ ARITHMETIC ================================================ Addition, S = P5 + P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = 0, 4, 0, 8, 0, 6) Difference, S = P5 - P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = -2, 0, -6, 0, -10, 6) Scalar Multiply of S * 10 : > Polynomial ( deg = 5, > coeff c0,c1,... = -20, 0, -60, 0, -100, 60) S mulXpower(0) : > Polynomial ( deg = 5, > coeff c0,c1,... = -20, 0, -60, 0, -100, 60) S mulXpower(3) : > Polynomial ( deg = 8, > coeff c0,c1,... = 0, 0, 0, -20, 0, -60, 0, -100, 60) S mulXpower(-4) : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, -60, 0, -100, 60) Unary Minus, -S : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, 60, 0, 100, -60) Product, P = P5 * P4 : > Polynomial ( deg = 9, > coeff c0,c1,... = -1, 0, -2, 0, -3, 6, -2, 18, -1, 30) Power, P5^0 : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) Power, P5^1 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Power, P5^2 : > Polynomial ( deg = 10, > coeff c0,c1,... = 1, -4, 10, -20, 35, -56, 70, -76, 73, -60, 36) Power, P5^3 : > Polynomial ( deg = 15, > coeff c0,c1,... = -1, 6, -21, 56, -126, 252, -441, 684, -954, 1204, -1365, 1344, -1169, 882, -540, 216) ================================================ REMAINDERS ================================================ P7 : > Polynomial ( deg = 7, > coeff c0,c1,... = 0, 0, 0, 1, 2, 3, 4, 5) P2 : > Polynomial ( deg = 2, > coeff c0,c1,... = 2, 0, 3) P7.pseudoRemainder(P2) : > Polynomial ( deg = 1, > coeff c0,c1,... = 8, 22) CORRECT! 22x+8 is pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder P16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1, 8, 36, 120, 330, 768, 1544, 2728, 4275, 5920, 7256, 7848, 7386, 5880, 3900, 2000, 625) p16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1, 8, 36, 120, 330, 768, 1544, 2728, 4275, 5920, 7256, 7848, 7386, 5880, 3900, 2000, 625) CORRECT! pseudoQuotient of (P4)^5 divided P4 CORRECT! pseudoRemainder of (P4)^5 divided P4 is 0 ================================================ EVALUATION ================================================ Evaluation, of P5 : > P5(BigFloat(0)) = -1.> P5(Expr(1)) = 3. > P5(Expr(2)) = 135. > P5(Expr("1.2")) = 8.55392 > P5(Expr(1.2)) = 8.55392 > Is P5(Expr("1.2")) == P5(Expr(1.2)) ? No (CORRECT!) ================================================ DIFFERENTIATION ================================================ Differentiate P5 zero times: > P5 = Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Differentiation, of P5 : > P5' = Polynomial ( deg = 4, > coeff c0,c1,... = 2, -6, 12, -20, 30) Differentiate twice : > P5'' = Polynomial ( deg = 3, > coeff c0,c1,... = -6, 24, -60, 120) Differentiate thrice : > P5''' = Polynomial ( deg = 2, > coeff c0,c1,... = 24, -120, 360) ================================================ COMPARISON ================================================ Testing for Zero Polynomial: > CORRECT! zP is the zero polynomial Testing for Unit Polynomial: > CORRECT! oneP is the unit polynomial Comparing P5 and P4: > CORRECT! they are not equal ================================================ GCD ================================================ ================================================ STREAM I/O ================================================ ================================================ COEFFICIENT MANIPULATION ================================================ Get coefficient array of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Get each coefficients of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Change the 5th coefficients of P4 to 100 CORRECT! Failed to change Change the 3th coefficients of P4 to 100 Here is the new P4: > P4 = Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 100, 5) ================= END OF TEST POLY ================= ================= NT = int ========================= ./tPolyRat ================ START OF TEST POLY ================ ================================================ CONSTRUCTORS ================================================ Zero Poly (zP) : > Polynomial ( deg = -1) CORRECT: polyZero() = zP Unity Poly (oneP) : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) CORRECT: polyUnity() = oneP Another Unit Poly U : > Polynomial ( deg = 5, > coeff c0,c1,... = 1, 0, 0, 0, 0, 0) P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Q, copy of P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) ================================================ DUMPING POLYNOMIALS ================================================ > Dumping polynomials to cerr # >This is P4 (output to cerr): # 1 + 2*x + 3*x^2 # + 4*x^3 + 5*x^4> The next is U (unit poly): # 1================================================ EXPAND, CONTRACT, REVERSE, MakeTailCoeffNonzero, NEGATE ================================================ Null extension of Q : > n =-2 (should be -2) > Unchanged Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Expansion of Q : > n =7 (should be 7) > New Q : > Polynomial ( deg = 7, > coeff c0,c1,... = 1, 2, 3, 4, 5, 0, 0, 0) > getTrueDegree(Q) = 4 (should be 4) Reduce Q : > n = 4 (should be 4) > This should be the original Q: > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Nothing to reduce in Q : > n = -2 (CORRECT! n = -2) > Reversed Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 5, 4, 3, 2, 1) CORRECT! reverse(reverse)=ident > Negated Q : > Polynomial ( deg = 4, > coeff c0,c1,... = -1, -2, -3, -4, -5) CORRECT! negate(negate)=ident CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct ================================================ ASSIGNMENT ================================================ Assignment P5=P4 : Here is P5 > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Updated P5 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) ================================================ ARITHMETIC ================================================ Addition, S = P5 + P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = 0, 4, 0, 8, 0, 6) Difference, S = P5 - P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = -2, 0, -6, 0, -10, 6) Scalar Multiply of S * 10 : > Polynomial ( deg = 5, > coeff c0,c1,... = -20, 0, -60, 0, -100, 60) S mulXpower(0) : > Polynomial ( deg = 5, > coeff c0,c1,... = -20, 0, -60, 0, -100, 60) S mulXpower(3) : > Polynomial ( deg = 8, > coeff c0,c1,... = 0, 0, 0, -20, 0, -60, 0, -100, 60) S mulXpower(-4) : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, -60, 0, -100, 60) Unary Minus, -S : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, 60, 0, 100, -60) Product, P = P5 * P4 : > Polynomial ( deg = 9, > coeff c0,c1,... = -1, 0, -2, 0, -3, 6, -2, 18, -1, 30) Power, P5^0 : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) Power, P5^1 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Power, P5^2 : > Polynomial ( deg = 10, > coeff c0,c1,... = 1, -4, 10, -20, 35, -56, 70, -76, 73, -60, 36) Power, P5^3 : > Polynomial ( deg = 15, > coeff c0,c1,... = -1, 6, -21, 56, -126, 252, -441, 684, -954, 1204, -1365, 1344, -1169, 882, -540, 216) ================================================ REMAINDERS ================================================ P7 : > Polynomial ( deg = 7, > coeff c0,c1,... = 0, 0, 0, 1, 2, 3, 4, 5) P2 : > Polynomial ( deg = 2, > coeff c0,c1,... = 2, 0, 3) P7.pseudoRemainder(P2) : > Polynomial ( deg = 1, > coeff c0,c1,... = 8, 22) CORRECT! 22x+8 is pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder P16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1, 8, 36, 120, 330, 768, 1544, 2728, 4275, 5920, 7256, 7848, 7386, 5880, 3900, 2000, 625) p16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1, 8, 36, 120, 330, 768, 1544, 2728, 4275, 5920, 7256, 7848, 7386, 5880, 3900, 2000, 625) CORRECT! pseudoQuotient of (P4)^5 divided P4 CORRECT! pseudoRemainder of (P4)^5 divided P4 is 0 ================================================ EVALUATION ================================================ Evaluation, of P5 : > P5(BigFloat(0)) = -1.> P5(Expr(1)) = 3. > P5(Expr(2)) = 135. > P5(Expr("1.2")) = 8.55392 > P5(Expr(1.2)) = 8.55392 > Is P5(Expr("1.2")) == P5(Expr(1.2)) ? No (CORRECT!) ================================================ DIFFERENTIATION ================================================ Differentiate P5 zero times: > P5 = Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Differentiation, of P5 : > P5' = Polynomial ( deg = 4, > coeff c0,c1,... = 2, -6, 12, -20, 30) Differentiate twice : > P5'' = Polynomial ( deg = 3, > coeff c0,c1,... = -6, 24, -60, 120) Differentiate thrice : > P5''' = Polynomial ( deg = 2, > coeff c0,c1,... = 24, -120, 360) ================================================ COMPARISON ================================================ Testing for Zero Polynomial: > CORRECT! zP is the zero polynomial Testing for Unit Polynomial: > CORRECT! oneP is the unit polynomial Comparing P5 and P4: > CORRECT! they are not equal ================================================ GCD ================================================ ================================================ STREAM I/O ================================================ ================================================ COEFFICIENT MANIPULATION ================================================ Get coefficient array of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Get each coefficients of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Change the 5th coefficients of P4 to 100 CORRECT! Failed to change Change the 3th coefficients of P4 to 100 Here is the new P4: > P4 = Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 100, 5) ================= END OF TEST POLY ================= ================= NT = BigRat ====================== ./tPolyExp ================ START OF TEST POLY ================ ================================================ CONSTRUCTORS ================================================ Zero Poly (zP) : > Polynomial ( deg = -1) CORRECT: polyZero() = zP Unity Poly (oneP) : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) CORRECT: polyUnity() = oneP Another Unit Poly U : > Polynomial ( deg = 5, > coeff c0,c1,... = 1, 0, 0, 0, 0, 0) P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Q, copy of P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) ================================================ DUMPING POLYNOMIALS ================================================ > Dumping polynomials to cerr # >This is P4 (output to cerr): # 1 + 2*x + 3*x^2 # + 4*x^3 + 5*x^4> The next is U (unit poly): # 1================================================ EXPAND, CONTRACT, REVERSE, MakeTailCoeffNonzero, NEGATE ================================================ Null extension of Q : > n =-2 (should be -2) > Unchanged Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Expansion of Q : > n =7 (should be 7) > New Q : > Polynomial ( deg = 7, > coeff c0,c1,... = 1, 2, 3, 4, 5, 0, 0, 0) > getTrueDegree(Q) = 4 (should be 4) Reduce Q : > n = 4 (should be 4) > This should be the original Q: > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Nothing to reduce in Q : > n = -2 (CORRECT! n = -2) > Reversed Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 5, 4, 3, 2, 1) CORRECT! reverse(reverse)=ident > Negated Q : > Polynomial ( deg = 4, > coeff c0,c1,... = -1., -2., -3., -4., -5.) CORRECT! negate(negate)=ident CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct ================================================ ASSIGNMENT ================================================ Assignment P5=P4 : Here is P5 > Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 4, 5) Updated P5 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) ================================================ ARITHMETIC ================================================ Addition, S = P5 + P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = 0, 4., 0, 8., 0, 6) Difference, S = P5 - P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = -2., 0, -6., 0, -10., 6) Scalar Multiply of S * 10 : > Polynomial ( deg = 5, > coeff c0,c1,... = -20., 0, -60., 0, -100., 60.) S mulXpower(0) : > Polynomial ( deg = 5, > coeff c0,c1,... = -20., 0, -60., 0, -100., 60.) S mulXpower(3) : > Polynomial ( deg = 8, > coeff c0,c1,... = 0, 0, 0, -20., 0, -60., 0, -100., 60.) S mulXpower(-4) : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, -60., 0, -100., 60.) Unary Minus, -S : > Polynomial ( deg = 4, > coeff c0,c1,... = 0, 60., 0, 100., -60.) Product, P = P5 * P4 : > Polynomial ( deg = 9, > coeff c0,c1,... = -1., 0, -2., 0, -3., 6., -2., 18., -1., 30.) Power, P5^0 : > Polynomial ( deg = 0, > coeff c0,c1,... = 1) Power, P5^1 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Power, P5^2 : > Polynomial ( deg = 10, > coeff c0,c1,... = 1., -4., 10., -20., 35., -56., 70., -76., 73., -60., 36.) Power, P5^3 : > Polynomial ( deg = 15, > coeff c0,c1,... = -1., 6., -21., 56., -126., 252., -441., 684., -954., 1204., -1365., 1344., -1169., 882., -540., 216.) ================================================ REMAINDERS ================================================ P7 : > Polynomial ( deg = 7, > coeff c0,c1,... = 0, 0, 0, 1, 2, 3, 4, 5) P2 : > Polynomial ( deg = 2, > coeff c0,c1,... = 2, 0, 3) P7.pseudoRemainder(P2) : > Polynomial ( deg = 1, > coeff c0,c1,... = 8., 22.) CORRECT! 22x+8 is pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder P16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1., 8., 36., 120., 330., 768., 1544., 2728., 4275., 5920., 7256., 7848., 7386., 5880., 3900., 2000., 625.) p16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1., 8., 36., 120., 330., 768., 1544., 2728., 4275., 5920., 7256., 7848., 7386., 5880., 3900., 2000., 625.) CORRECT! pseudoQuotient of (P4)^5 divided P4 CORRECT! pseudoRemainder of (P4)^5 divided P4 is 0 ================================================ EVALUATION ================================================ Evaluation, of P5 : > P5(BigFloat(0)) = -1.> P5(Expr(1)) = 3. > P5(Expr(2)) = 135. > P5(Expr("1.2")) = 8.55392 > P5(Expr(1.2)) = 8.55392 > Is P5(Expr("1.2")) == P5(Expr(1.2)) ? No (CORRECT!) ================================================ DIFFERENTIATION ================================================ Differentiate P5 zero times: > P5 = Polynomial ( deg = 5, > coeff c0,c1,... = -1, 2, -3, 4, -5, 6) Differentiation, of P5 : > P5' = Polynomial ( deg = 4, > coeff c0,c1,... = 2., -6., 12., -20., 30.) Differentiate twice : > P5'' = Polynomial ( deg = 3, > coeff c0,c1,... = -6., 24., -60., 120.) Differentiate thrice : > P5''' = Polynomial ( deg = 2, > coeff c0,c1,... = 24., -120., 360.) ================================================ COMPARISON ================================================ Testing for Zero Polynomial: > CORRECT! zP is the zero polynomial Testing for Unit Polynomial: > CORRECT! oneP is the unit polynomial Comparing P5 and P4: > CORRECT! they are not equal ================================================ GCD ================================================ ================================================ STREAM I/O ================================================ ================================================ COEFFICIENT MANIPULATION ================================================ Get coefficient array of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Get each coefficients of P4 0-th Coefficient = 1 1-th Coefficient = 2 2-th Coefficient = 3 3-th Coefficient = 4 4-th Coefficient = 5 Change the 5th coefficients of P4 to 100 CORRECT! Failed to change Change the 3th coefficients of P4 to 100 Here is the new P4: > P4 = Polynomial ( deg = 4, > coeff c0,c1,... = 1, 2, 3, 100, 5) ================= END OF TEST POLY ================= ================= NT = Expr ======================== ./tPolyBF ================ START OF TEST POLY ================ ================================================ CONSTRUCTORS ================================================ Zero Poly (zP) : > Polynomial ( deg = -1) CORRECT: polyZero() = zP Unity Poly (oneP) : > Polynomial ( deg = 0, > coeff c0,c1,... = 1.) CORRECT: polyUnity() = oneP Another Unit Poly U : > Polynomial ( deg = 5, > coeff c0,c1,... = 1., 0., 0., 0., 0., 0.) P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1., 2., 3., 4., 5.) Q, copy of P4 : > Polynomial ( deg = 4, > coeff c0,c1,... = 1., 2., 3., 4., 5.) ================================================ DUMPING POLYNOMIALS ================================================ > Dumping polynomials to cerr # >This is P4 (output to cerr): # 1 + 2.*x + 3.*x^2 # + 4.*x^3 + 5.*x^4> The next is U (unit poly): # 1================================================ EXPAND, CONTRACT, REVERSE, MakeTailCoeffNonzero, NEGATE ================================================ Null extension of Q : > n =-2 (should be -2) > Unchanged Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 1., 2., 3., 4., 5.) Expansion of Q : > n =7 (should be 7) > New Q : > Polynomial ( deg = 7, > coeff c0,c1,... = 1., 2., 3., 4., 5., 0., 0., 0.) > getTrueDegree(Q) = 4 (should be 4) Reduce Q : > n = 4 (should be 4) > This should be the original Q: > Polynomial ( deg = 4, > coeff c0,c1,... = 1., 2., 3., 4., 5.) Nothing to reduce in Q : > n = -2 (CORRECT! n = -2) > Reversed Q : > Polynomial ( deg = 4, > coeff c0,c1,... = 5., 4., 3., 2., 1.) CORRECT! reverse(reverse)=ident > Negated Q : > Polynomial ( deg = 4, > coeff c0,c1,... = -1., -2., -3., -4., -5.) CORRECT! negate(negate)=ident CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct CORRECT! makeTailCoeff is correct ================================================ ASSIGNMENT ================================================ Assignment P5=P4 : Here is P5 > Polynomial ( deg = 4, > coeff c0,c1,... = 1., 2., 3., 4., 5.) Updated P5 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1., 2., -3., 4., -5., 6.) ================================================ ARITHMETIC ================================================ Addition, S = P5 + P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = 0., 4., 0., 8., 0., 6.) Difference, S = P5 - P4 : > Polynomial ( deg = 5, > coeff c0,c1,... = -2., 0., -6., 0., -10., 6.) Scalar Multiply of S * 10 : > Polynomial ( deg = 5, > coeff c0,c1,... = -20., 0., -60., 0., -100., 60.) S mulXpower(0) : > Polynomial ( deg = 5, > coeff c0,c1,... = -20., 0., -60., 0., -100., 60.) S mulXpower(3) : > Polynomial ( deg = 8, > coeff c0,c1,... = 0., 0., 0., -20., 0., -60., 0., -100., 60.) S mulXpower(-4) : > Polynomial ( deg = 4, > coeff c0,c1,... = 0., -60., 0., -100., 60.) Unary Minus, -S : > Polynomial ( deg = 4, > coeff c0,c1,... = 0., 60., 0., 100., -60.) Product, P = P5 * P4 : > Polynomial ( deg = 9, > coeff c0,c1,... = -1., 0., -2., 0., -3., 6., -2., 18., -1., 30.) Power, P5^0 : > Polynomial ( deg = 0, > coeff c0,c1,... = 1.) Power, P5^1 : > Polynomial ( deg = 5, > coeff c0,c1,... = -1., 2., -3., 4., -5., 6.) Power, P5^2 : > Polynomial ( deg = 10, > coeff c0,c1,... = 1., -4., 10., -20., 35., -56., 70., -76., 73., -60., 36.) Power, P5^3 : > Polynomial ( deg = 15, > coeff c0,c1,... = -1., 6., -21., 56., -126., 252., -441., 684., -954., 1204., -1365., 1344., -1169., 882., -540., 216.) ================================================ REMAINDERS ================================================ P7 : > Polynomial ( deg = 7, > coeff c0,c1,... = 0., 0., 0., 1., 2., 3., 4., 5.) P2 : > Polynomial ( deg = 2, > coeff c0,c1,... = 2., 0., 3.) P7.pseudoRemainder(P2) : > Polynomial ( deg = 1, > coeff c0,c1,... = 8., 22.) CORRECT! 22x+8 is pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder P16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1., 8., 36., 120., 330., 768., 1544., 2728., 4275., 5920., 7256., 7848., 7386., 5880., 3900., 2000., 625.) p16 = Polynomial ( deg = 16, > coeff c0,c1,... = 1., 8., 36., 120., 330., 768., 1544., 2728., 4275., 5920., 7256., 7848., 7386., 5880., 3900., 2000., 625.) CORRECT! pseudoQuotient of (P4)^5 divided P4 CORRECT! pseudoRemainder of (P4)^5 divided P4 is 0 ================================================ EVALUATION ================================================ Evaluation, of P5 : > P5(BigFloat(0)) = -1.> P5(Expr(1)) = 3. > P5(Expr(2)) = 135. > P5(Expr("1.2")) = 8.55392 > P5(Expr(1.2)) = 8.55392 > Is P5(Expr("1.2")) == P5(Expr(1.2)) ? No (CORRECT!) ================================================ DIFFERENTIATION ================================================ Differentiate P5 zero times: > P5 = Polynomial ( deg = 5, > coeff c0,c1,... = -1., 2., -3., 4., -5., 6.) Differentiation, of P5 : > P5' = Polynomial ( deg = 4, > coeff c0,c1,... = 2., -6., 12., -20., 30.) Differentiate twice : > P5'' = Polynomial ( deg = 3, > coeff c0,c1,... = -6., 24., -60., 120.) Differentiate thrice : > P5''' = Polynomial ( deg = 2, > coeff c0,c1,... = 24., -120., 360.) ================================================ COMPARISON ================================================ Testing for Zero Polynomial: > CORRECT! zP is the zero polynomial Testing for Unit Polynomial: > CORRECT! oneP is the unit polynomial Comparing P5 and P4: > CORRECT! they are not equal ================================================ GCD ================================================ ================================================ STREAM I/O ================================================ ================================================ COEFFICIENT MANIPULATION ================================================ Get coefficient array of P4 0-th Coefficient = 1. 1-th Coefficient = 2. 2-th Coefficient = 3. 3-th Coefficient = 4. 4-th Coefficient = 5. Get each coefficients of P4 0-th Coefficient = 1. 1-th Coefficient = 2. 2-th Coefficient = 3. 3-th Coefficient = 4. 4-th Coefficient = 5. Change the 5th coefficients of P4 to 100 CORRECT! Failed to change Change the 3th coefficients of P4 to 100 Here is the new P4: > P4 = Polynomial ( deg = 4, > coeff c0,c1,... = 1., 2., 3., 100., 5.) BF_R: Polynomial ( deg = 1, > coeff c0,c1,... = 1.70697e-15, 2.31305e+19) BF_Q: Polynomial ( deg = 2, > coeff c0,c1,... = 0.00012, 8.05306e+8, 9.09495e-13) BF_B: Polynomial ( deg = 3, > coeff c0,c1,... = 0.00073, 8.05306e+8, 9.09495e-13, 2807.08) BF_A: Polynomial ( deg = 5, > coeff c0,c1,... = 8.94070e-8, 2.31305e+19, 6.48518e+17, 0.34413, 2.26056e+12, 2.55303e-9) ===============begin testPseudo=========== A = Polynomial ( deg = 5, > coeff c0,c1,... = 8.94070e-8, 2.31305e+19, 6.48518e+17, 0.34413, 2.26056e+12, 2.55303e-9) B = Polynomial ( deg = 3, > coeff c0,c1,... = 0.00073, 8.05306e+8, 9.09495e-13, 2807.08) Quo = Polynomial ( deg = 2, > coeff c0,c1,... = 4.54747e-13, 3., 3.38813e-21) Rem = Polynomial ( deg = 1, > coeff c0,c1,... = 6.35895e-24, 8.61678e+10) C = 3.72529e-9 C*A = Polynomial ( deg = 5, > coeff c0,c1,... = 3.33067e-16, 8.61678e+10, 2.41592e+9, 1.28197e-9, 8421.25, 9.51077e-18) Quo*B + Rem = Polynomial ( deg = 5, > coeff c0,c1,... = 3.33067e-16, 8.61678e+10, 2.41592e+9, 1.28197e-9, 8421.25, 9.51077e-18) CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder ===============end testPseudo=========== ===============begin testPseudo=========== A = Polynomial ( deg = 5, > coeff c0,c1,... = 8.94070e-8, 2.31305e+19, 6.48518e+17, 0.34413, 2.26056e+12, 3.31249e+11) B = Polynomial ( deg = 3, > coeff c0,c1,... = 0.00073, 8.05306e+8, 9.09495e-13, 2807.08) Quo = Polynomial ( deg = 2, > coeff c0,c1,... = -1.44841e+49, 3.44545e+44, 5.04876e+43) Rem = Polynomial ( deg = 2, > coeff c0,c1,... = 1.06085e+46, 1.16740e+58, -3.69519e+40) C = 4.27844e+35 C*A = Polynomial ( deg = 5, > coeff c0,c1,... = 3.82522e+28, 9.89623e+54, 2.77464e+53, 1.47232e+35, 9.67167e+47, 1.41723e+47) Quo*B + Rem = Polynomial ( deg = 5, > coeff c0,c1,... = 3.82522e+28, 9.89623e+54, 2.77464e+53, 1.47232e+35, 9.67167e+47, 1.41723e+47) CORRECT! (C*A) == (Quo*B + Rem) in pseudoRemainder ===============end testPseudo=========== ================= END OF TEST POLY ================= ================= NT = BigFloat ======================== ./tSturmExp ------------------------------------------------------------ Relative Precision is infty Print Digits is 20 Iteration Stops when delta < 8.6736173798840354721e-19 ------------------------------------------------------------ ============================================================= TEST 1: Polynomial of degree 16 with 6 real roots ============================================================= Polynomial is -1.13000000000000000000e+02 + (0)*x^1 + (2.24000000000000000000e+02)*x^2 + (0)*x^3 + (2.00000000000000000000e+02)*x^4 + (0)*x^5 + (-1.84000000000000000000e+02)*x^6 + (0)*x^7 + (-9.80000000000000000000e+01)*x^8 + (0)*x^9 + (6.40000000000000000000e+01)*x^10 + (0)*x^11 + (8.00000000000000000000e+00)*x^12 + (0)*x^13 + (-8.00000000000000000000e+00)*x^14 + (0)*x^15 + (1.00000000000000000000e+00)*x^16 Separation bound = 1.0540225151081982689e-50 sqrt(1 + sqrt(5 - 3*sqrt(1 + sqrt(2)))) = 1.2577601308259441892 The preceding is a root (CORRECT!) Number of roots is 6 (CORRECT!) 1th Root is in [-2.0268859630081534374 ; -2.0268859630081534374] (CORRECT!) Precision attained 2th Root is in [-1.2577601308259441892 ; -1.2577601308259441892] (CORRECT!) Precision attained 3th Root is in [-6.4655970590866838970e-1 ; -6.4655970590866838970e-1] (CORRECT!) Precision attained 4th Root is in [6.4655970590866838970e-1 ; 6.4655970590866838970e-1] (CORRECT!) Precision attained 5th Root is in [1.2577601308259441892 ; 1.2577601308259441892] (CORRECT!) Precision attained 6th Root is in [2.0268859630081534374 ; 2.0268859630081534374] (CORRECT!) Precision attained ============================================================= TEST 2 : Polynomial X^2 + 1, no roots! ============================================================= Number of roots is 0 (CORRECT!) ============================================================= TEST 3: Legendre Polynomial 35 X^4 - 20 X^2 + 3 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-8.6113631159405257522e-1 ; -8.6113631159405257522e-1] (CORRECT!) Precision attained 2th Root is in [-3.3998104358485626480e-1 ; -3.3998104358485626480e-1] (CORRECT!) Precision attained 3th Root is in [3.3998104358485626480e-1 ; 3.3998104358485626480e-1] (CORRECT!) Precision attained 4th Root is in [8.6113631159405257522e-1 ; 8.6113631159405257522e-1] (CORRECT!) Precision attained ============================================================= TEST 4: Mignotte Polynomial, P(X) = X^20 - 2(100X-1)^2 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-1.7346964402607318572 ; -1.7346964402607318572] (CORRECT!) Precision attained 2th Root is in [9.9999999999999999918e-3 ; 1.0000000000000000000e-2] (CORRECT!) Precision attained 3th Root is in [1.0000000000000000000e-2 ; 1.0000000000000000008e-2] (CORRECT!) Precision attained 4th Root is in [1.7324741845654003171 ; 1.7324741845654003171] (CORRECT!) Precision attained ============================================================= TEST 5: Roots of Unity, P(X) = X^99 - 1 ============================================================= Number of roots is 1 (CORRECT!) 1th Root is in [1.00000000000000000000 ; 1.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6: Wilkinson Polynomial of degree 6 (roots are 1,..,6) ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [9.9999999999999999992e-1 ; 1.0000000000000000001] (CORRECT!) Precision attained 2th Root is in [2.0000000000000000000 ; 2.0000000000000000000] (CORRECT!) Precision attained 3th Root is in [3.0000000000000000000 ; 3.0000000000000000000] (CORRECT!) Precision attained 4th Root is in [4.0000000000000000000 ; 4.0000000000000000000] (CORRECT!) Precision attained 5th Root is in [5.0000000000000000000 ; 5.0000000000000000000] (CORRECT!) Precision attained 6th Root is in [6.0000000000000000000 ; 6.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6a: Perturbed Wilkinson6 (add 1 to constant coeff) NOTE: Roots are more sensitive to perturbations in higher degree coeffs ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 2th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 3th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 4th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 5th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 6th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= TEST 6b: Perturbed Wilkinson6 (add 1 to coeff of X^2) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0086476259817998943 ; 1.0086476259817998943] (CORRECT!) Precision attained 2th Root is in [1.8706587600173800855 ; 1.8706587600173800855] (CORRECT!) Precision attained ============================================================= TEST 6c: Perturbed Wilkinson6 (add 1 to coeff of X^5) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0088894965494693015 ; 1.0088894965494693015] (CORRECT!) Precision attained 2th Root is in [1.6245496096925685859 ; 1.6245496096925685859] (CORRECT!) Precision attained ============================================================= TEST 7: Wilkinson Polynomial of degree 10 (roots are 1,..,10) (THIS USED TO BE SLOW, BUT NO LONGER) ============================================================= The smallest root lies in the interval [0., 1.5203449726104736328] The 3rd smallest root lies in the interval [2.2805174589157104492, 3.0406899452209472656] The largest root lies in the interval [9.1220698356628417969, 1.2162759780883789063e+1] The 3rd largest root lies in the interval7.6017248630523681641, 8.3618973493576049805] The 11th smallest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] The 11th largest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] ============================================================= SPECIAL TESTS: Polynomials with multiple roots ============================================================= SPECIAL TESTS: Linear Polynomial The first root of X-2 is in the interval [0., 4.] ============================================================= SPECIAL TESTS: Polynomial with Zero Tail Coefficients Number of roots is 7 (CORRECT!) 1th Root is in [0. ; 0.] (CORRECT!) Precision attained 2th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 3th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 4th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 5th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 6th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 7th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= SPECIAL TESTS: Polynomial with roots of multiplicity greater than one Number of roots is 2 (CORRECT!) 1th Root is in [-8.2842712474619009760e-1 ; -8.2842712474619009760e-1] (CORRECT!) Precision attained 2th Root is in [4.8284271247461900976 ; 4.8284271247461900976] (CORRECT!) Precision attained ============================================================= END TEST Number type NT = Expr ============================================================= ./tSturmRat ------------------------------------------------------------ Relative Precision is infty Print Digits is 20 Iteration Stops when delta < 8.6736173798840354721e-19 ------------------------------------------------------------ ============================================================= TEST 1: Polynomial of degree 16 with 6 real roots ============================================================= Polynomial is -113 + (0)*x^1 + (224)*x^2 + (0)*x^3 + (200)*x^4 + (0)*x^5 + (-184)*x^6 + (0)*x^7 + (-98)*x^8 + (0)*x^9 + (64)*x^10 + (0)*x^11 + (8)*x^12 + (0)*x^13 + (-8)*x^14 + (0)*x^15 + (1)*x^16 Separation bound = 1.0540225151081982689e-50 sqrt(1 + sqrt(5 - 3*sqrt(1 + sqrt(2)))) = 1.2577601308259441892 The preceding is a root (CORRECT!) Number of roots is 6 (CORRECT!) 1th Root is in [-2.0268859630081534374 ; -2.0268859630081534374] (CORRECT!) Precision attained 2th Root is in [-1.2577601308259441892 ; -1.2577601308259441892] (CORRECT!) Precision attained 3th Root is in [-6.4655970590866838970e-1 ; -6.4655970590866838970e-1] (CORRECT!) Precision attained 4th Root is in [6.4655970590866838970e-1 ; 6.4655970590866838970e-1] (CORRECT!) Precision attained 5th Root is in [1.2577601308259441892 ; 1.2577601308259441892] (CORRECT!) Precision attained 6th Root is in [2.0268859630081534374 ; 2.0268859630081534374] (CORRECT!) Precision attained ============================================================= TEST 2 : Polynomial X^2 + 1, no roots! ============================================================= Number of roots is 0 (CORRECT!) ============================================================= TEST 3: Legendre Polynomial 35 X^4 - 20 X^2 + 3 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-8.6113631159405257522e-1 ; -8.6113631159405257522e-1] (CORRECT!) Precision attained 2th Root is in [-3.3998104358485626480e-1 ; -3.3998104358485626480e-1] (CORRECT!) Precision attained 3th Root is in [3.3998104358485626480e-1 ; 3.3998104358485626480e-1] (CORRECT!) Precision attained 4th Root is in [8.6113631159405257522e-1 ; 8.6113631159405257522e-1] (CORRECT!) Precision attained ============================================================= TEST 4: Mignotte Polynomial, P(X) = X^20 - 2(100X-1)^2 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-1.7346964402607318572 ; -1.7346964402607318572] (CORRECT!) Precision attained 2th Root is in [9.9999999999999999918e-3 ; 1.0000000000000000000e-2] (CORRECT!) Precision attained 3th Root is in [1.0000000000000000000e-2 ; 1.0000000000000000008e-2] (CORRECT!) Precision attained 4th Root is in [1.7324741845654003171 ; 1.7324741845654003171] (CORRECT!) Precision attained ============================================================= TEST 5: Roots of Unity, P(X) = X^99 - 1 ============================================================= Number of roots is 1 (CORRECT!) 1th Root is in [1.00000000000000000000 ; 1.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6: Wilkinson Polynomial of degree 6 (roots are 1,..,6) ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [9.9999999999999999992e-1 ; 1.0000000000000000001] (CORRECT!) Precision attained 2th Root is in [2.0000000000000000000 ; 2.0000000000000000000] (CORRECT!) Precision attained 3th Root is in [3.0000000000000000000 ; 3.0000000000000000000] (CORRECT!) Precision attained 4th Root is in [4.0000000000000000000 ; 4.0000000000000000000] (CORRECT!) Precision attained 5th Root is in [5.0000000000000000000 ; 5.0000000000000000000] (CORRECT!) Precision attained 6th Root is in [6.0000000000000000000 ; 6.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6a: Perturbed Wilkinson6 (add 1 to constant coeff) NOTE: Roots are more sensitive to perturbations in higher degree coeffs ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 2th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 3th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 4th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 5th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 6th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= TEST 6b: Perturbed Wilkinson6 (add 1 to coeff of X^2) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0086476259817998943 ; 1.0086476259817998943] (CORRECT!) Precision attained 2th Root is in [1.8706587600173800855 ; 1.8706587600173800855] (CORRECT!) Precision attained ============================================================= TEST 6c: Perturbed Wilkinson6 (add 1 to coeff of X^5) ============================================================= Number of roots is 2 (CORRECT!) 1th Root is in [1.0088894965494693015 ; 1.0088894965494693015] (CORRECT!) Precision attained 2th Root is in [1.6245496096925685859 ; 1.6245496096925685859] (CORRECT!) Precision attained ============================================================= TEST 7: Wilkinson Polynomial of degree 10 (roots are 1,..,10) (THIS USED TO BE SLOW, BUT NO LONGER) ============================================================= The smallest root lies in the interval [0., 1.5203449726104736328] The 3rd smallest root lies in the interval [2.2805174589157104492, 3.0406899452209472656] The largest root lies in the interval [9.1220698356628417969, 1.2162759780883789063e+1] The 3rd largest root lies in the interval7.6017248630523681641, 8.3618973493576049805] The 11th smallest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] The 11th largest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] ============================================================= SPECIAL TESTS: Polynomials with multiple roots ============================================================= SPECIAL TESTS: Linear Polynomial The first root of X-2 is in the interval [0., 4.] ============================================================= SPECIAL TESTS: Polynomial with Zero Tail Coefficients Number of roots is 7 (CORRECT!) 1th Root is in [0. ; 0.] (CORRECT!) Precision attained 2th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 3th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 4th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 5th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 6th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 7th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= SPECIAL TESTS: Polynomial with roots of multiplicity greater than one Number of roots is 2 (CORRECT!) 1th Root is in [-8.2842712474619009760e-1 ; -8.2842712474619009760e-1] (CORRECT!) Precision attained 2th Root is in [4.8284271247461900976 ; 4.8284271247461900976] (CORRECT!) Precision attained ============================================================= END TEST Number type NT = BigRat ============================================================= ./tSturmInt ------------------------------------------------------------ Relative Precision is infty Print Digits is 20 Iteration Stops when delta < 8.6736173798840354721e-19 ------------------------------------------------------------ ============================================================= TEST 1: Polynomial of degree 16 with 6 real roots ============================================================= Polynomial is -113 + (0)*x^1 + (224)*x^2 + (0)*x^3 + (200)*x^4 + (0)*x^5 + (-184)*x^6 + (0)*x^7 + (-98)*x^8 + (0)*x^9 + (64)*x^10 + (0)*x^11 + (8)*x^12 + (0)*x^13 + (-8)*x^14 + (0)*x^15 + (1)*x^16 Separation bound = 1.0540225151081982689e-50 sqrt(1 + sqrt(5 - 3*sqrt(1 + sqrt(2)))) = 1.2577601308259441892 The preceding is a root (CORRECT!) Number of roots is 6 (CORRECT!) 1th Root is in [-2.0268859630081534374 ; -2.0268859630081534374] (CORRECT!) Precision attained 2th Root is in [-1.2577601308259441892 ; -1.2577601308259441892] (CORRECT!) Precision attained 3th Root is in [-6.4655970590866838970e-1 ; -6.4655970590866838970e-1] (CORRECT!) Precision attained 4th Root is in [6.4655970590866838970e-1 ; 6.4655970590866838970e-1] (CORRECT!) Precision attained 5th Root is in [1.2577601308259441892 ; 1.2577601308259441892] (CORRECT!) Precision attained 6th Root is in [2.0268859630081534374 ; 2.0268859630081534374] (CORRECT!) Precision attained ============================================================= TEST 2 : Polynomial X^2 + 1, no roots! ============================================================= Number of roots is 0 (CORRECT!) ============================================================= TEST 3: Legendre Polynomial 35 X^4 - 20 X^2 + 3 ============================================================= Number of roots is 4 (CORRECT!) 1th Root is in [-8.6113631159405257522e-1 ; -8.6113631159405257522e-1] (CORRECT!) Precision attained 2th Root is in [-3.3998104358485626480e-1 ; -3.3998104358485626480e-1] (CORRECT!) Precision attained 3th Root is in [3.3998104358485626480e-1 ; 3.3998104358485626480e-1] (CORRECT!) Precision attained 4th Root is in [8.6113631159405257522e-1 ; 8.6113631159405257522e-1] (CORRECT!) Precision attained ============================================================= TEST 5: Roots of Unity, P(X) = X^99 - 1 ============================================================= Number of roots is 1 (CORRECT!) 1th Root is in [1.00000000000000000000 ; 1.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6: Wilkinson Polynomial of degree 6 (roots are 1,..,6) ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [9.9999999999999999992e-1 ; 1.0000000000000000001] (CORRECT!) Precision attained 2th Root is in [2.0000000000000000000 ; 2.0000000000000000000] (CORRECT!) Precision attained 3th Root is in [3.0000000000000000000 ; 3.0000000000000000000] (CORRECT!) Precision attained 4th Root is in [4.0000000000000000000 ; 4.0000000000000000000] (CORRECT!) Precision attained 5th Root is in [5.0000000000000000000 ; 5.0000000000000000000] (CORRECT!) Precision attained 6th Root is in [6.0000000000000000000 ; 6.0000000000000000000] (CORRECT!) Precision attained ============================================================= TEST 6a: Perturbed Wilkinson6 (add 1 to constant coeff) NOTE: Roots are more sensitive to perturbations in higher degree coeffs ============================================================= Number of roots is 6 (CORRECT!) 1th Root is in [1.0084970428019624964 ; 1.0084970428019624964] (CORRECT!) Precision attained 2th Root is in [1.9600221174306065040 ; 1.9600221174306065040] (CORRECT!) Precision attained 3th Root is in [3.0866222847436966699 ; 3.0866222847436966699] (CORRECT!) Precision attained 4th Root is in [3.9133777152563033301 ; 3.9133777152563033301] (CORRECT!) Precision attained 5th Root is in [5.0399778825693934960 ; 5.0399778825693934960] (CORRECT!) Precision attained 6th Root is in [5.9915029571980375036 ; 5.9915029571980375036] (CORRECT!) Precision attained ============================================================= TEST 7: Wilkinson Polynomial of degree 10 (roots are 1,..,10) (THIS USED TO BE SLOW, BUT NO LONGER) ============================================================= The smallest root lies in the interval [0., 1.5203449726104736328] The 3rd smallest root lies in the interval [2.2805174589157104492, 3.0406899452209472656] The largest root lies in the interval [9.1220698356628417969, 1.2162759780883789063e+1] The 3rd largest root lies in the interval7.6017248630523681641, 8.3618973493576049805] The 11th smallest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] The 11th largest root lies in the interval [1., 0.] It is undefined, and so prints as [1,0] ============================================================= SPECIAL TESTS: Polynomials with multiple roots ============================================================= SPECIAL TESTS: Linear Polynomial The first root of X-2 is in the interval [0., 4.] ============================================================= SPECIAL TESTS: Polynomial with roots of multiplicity greater than one Number of roots is 2 (CORRECT!) 1th Root is in [-8.2842712474619009760e-1 ; -8.2842712474619009760e-1] (CORRECT!) Precision attained 2th Root is in [4.8284271247461900976 ; 4.8284271247461900976] (CORRECT!) Precision attained ============================================================= END TEST Number type NT = int ============================================================= ./tWilk20 ------------------------------------------------------------ Relative Precision is infty Print Digits is 33 Iteration Stops when delta < 7.88860905221011805411728565282786e-31 ------------------------------------------------------------ ============================================================= TEST 6: Wilkinson Polynomial of degree 10 (roots are 1,..,10) WARNING: VERY SLOW ============================================================= # P20= # 2432902008176640000-8752948036761600000*x + 13803759753640704000*x^2 # -12870931245150988800*x^3 + 8037811822645051776*x^4-3599979517947607200*x^5 + 1206647803780373360*x^6 # -311333643161390640*x^7 + 63030812099294896*x^8-10142299865511450*x^9 + 1307535010540395*x^10 # -135585182899530*x^11 + 11310276995381*x^12-756111184500*x^13 + 40171771630*x^14 # -1672280820*x^15 + 53327946*x^16-1256850*x^17 + 20615*x^18 # -210*x^19 + x^20 Number of roots is 20 (CORRECT!) 1th Root is in [1.000000000000000000000000000000000 ; 1.00000000000000000000000000000000] (CORRECT!) Precision attained 2th Root is in [2.00000000000000000000000000000000 ; 2.00000000000000000000000000000000] (CORRECT!) Precision attained 3th Root is in [3.00000000000000000000000000000000 ; 3.00000000000000000000000000000000] (CORRECT!) Precision attained 4th Root is in [4.00000000000000000000000000000000 ; 4.00000000000000000000000000000000] (CORRECT!) Precision attained 5th Root is in [5.00000000000000000000000000000000 ; 5.00000000000000000000000000000000] (CORRECT!) Precision attained 6th Root is in [6.00000000000000000000000000000000 ; 6.00000000000000000000000000000000] (CORRECT!) Precision attained 7th Root is in [7.00000000000000000000000000000000 ; 7.00000000000000000000000000000000] (CORRECT!) Precision attained 8th Root is in [8.00000000000000000000000000000000 ; 8.00000000000000000000000000000000] (CORRECT!) Precision attained 9th Root is in [9.00000000000000000000000000000000 ; 9.00000000000000000000000000000000] (CORRECT!) Precision attained 10th Root is in [1.000000000000000000000000000000000e+1 ; 1.00000000000000000000000000000000e+1] (CORRECT!) Precision attained 11th Root is in [1.10000000000000000000000000000000e+1 ; 1.10000000000000000000000000000000e+1] (CORRECT!) Precision attained 12th Root is in [1.20000000000000000000000000000000e+1 ; 1.20000000000000000000000000000000e+1] (CORRECT!) Precision attained 13th Root is in [1.30000000000000000000000000000000e+1 ; 1.30000000000000000000000000000000e+1] (CORRECT!) Precision attained 14th Root is in [1.40000000000000000000000000000000e+1 ; 1.40000000000000000000000000000000e+1] (CORRECT!) Precision attained 15th Root is in [1.50000000000000000000000000000000e+1 ; 1.50000000000000000000000000000000e+1] (CORRECT!) Precision attained 16th Root is in [1.60000000000000000000000000000000e+1 ; 1.60000000000000000000000000000000e+1] (CORRECT!) Precision attained 17th Root is in [1.70000000000000000000000000000000e+1 ; 1.70000000000000000000000000000000e+1] (CORRECT!) Precision attained 18th Root is in [1.80000000000000000000000000000000e+1 ; 1.80000000000000000000000000000000e+1] (CORRECT!) Precision attained 19th Root is in [1.90000000000000000000000000000000e+1 ; 1.90000000000000000000000000000000e+1] (CORRECT!) Precision attained 20th Root is in [2.00000000000000000000000000000000e+1 ; 2.00000000000000000000000000000000e+1] (CORRECT!) Precision attained ./tWilk20deriv ------------------------------------------------------------ Relative Precision is infty Print Digits is 33 Iteration Stops when delta < 7.88860905221011805411728565282786e-31 ------------------------------------------------------------ ============================================================= Isolating the roots of the derivative of the Wilkinson Polynomial of degree 20 ============================================================= # Differentiation of Wilk20 = # -8752948036761600000 + 27607519507281408000*x-38612793735452966400*x^2 # + 32151247290580207104*x^3-17999897589738036000*x^4 + 7239886822682240160*x^5-2179335502129734480*x^6 # + 504246496794359168*x^7-91280698789603050*x^8 + 13075350105403950*x^9-1491437011894830*x^10 # + 135723323944572*x^11-9829445398500*x^12 + 562404802820*x^13-25084212300*x^14 # + 853247136*x^15-21366450*x^16 + 371070*x^17-3990*x^18 # + 20*x^19 Number of roots is 19 (CORRECT!) 1th Root is in [1.24766646502902714387689322969648 ; 1.24766646502902714387689322969688] (CORRECT!) Precision attained 2th Root is in [2.29869162566441639549472795035128 ; 2.29869162566441639549472795035128] (CORRECT!) Precision attained 3th Root is in [3.33468762262222916033621077785454 ; 3.33468762262222916033621077785454] (CORRECT!) Precision attained 4th Root is in [4.36431329356572765064009372006971 ; 4.36431329356572765064009372006971] (CORRECT!) Precision attained 5th Root is in [5.39040704560876476209748496621809 ; 5.39040704560876476209748496621839] (CORRECT!) Precision attained 6th Root is in [6.41430590462670699564889782996847 ; 6.41430590462670699564889782996847] (CORRECT!) Precision attained 7th Root is in [7.43677484182431888431110357464114 ; 7.43677484182431888431110357464114] (CORRECT!) Precision attained 8th Root is in [8.45831444913474348960369205216622 ; 8.45831444913474348960369205216670] (CORRECT!) Precision attained 9th Root is in [9.47929062757212713582377567432170 ; 9.47929062757212713582377567432170] (CORRECT!) Precision attained 10th Root is in [1.050000000000000e+1 ; 1.050000000000000e+1] (CORRECT!) Precision attained 11th Root is in [1.15207093724278728641762243256783e+1 ; 1.15207093724278728641762243256783e+1] (CORRECT!) Precision attained 12th Root is in [1.25416855508652565103963079478335e+1 ; 1.25416855508652565103963079478335e+1] (CORRECT!) Precision attained 13th Root is in [1.35632251581756811156888964253589e+1 ; 1.35632251581756811156888964253589e+1] (CORRECT!) Precision attained 14th Root is in [1.45856940953732930043511021700315e+1 ; 1.45856940953732930043511021700315e+1] (CORRECT!) Precision attained 15th Root is in [1.56095929543912352379025150337818e+1 ; 1.56095929543912352379025150337818e+1] (CORRECT!) Precision attained 16th Root is in [1.66356867064342723493599062799303e+1 ; 1.66356867064342723493599062799303e+1] (CORRECT!) Precision attained 17th Root is in [1.76653123773777708396637892221455e+1 ; 1.76653123773777708396637892221455e+1] (CORRECT!) Precision attained 18th Root is in [1.87013083743355836045052720496484e+1 ; 1.87013083743355836045052720496487e+1] (CORRECT!) Precision attained 19th Root is in [1.97523335349709728561231067703031e+1 ; 1.97523335349709728561231067703035e+1] (CORRECT!) Precision attained ./tKameny4 ------------------------------------------------------------ Relative Precision is infty Print Digits is 100 Iteration Stops when delta < 4.909093465297726553095771954986275642975215512499449565111549117187105254721715856460097884037331952e-91 ------------------------------------------------------------ ============================================================= TEST : Kameny Polynomial of degree 14 (4 real roots) ============================================================= # Kameny 4 # 4-4000000000000000000000000*x^4 + 4*x^7 # + 1000000000000000000000000000000000000000000000000*x^8 + 2000000000000000000000000*x^11 + x^14 Number of roots is 4 (CORRECT!) 1th Root is in [-1.000000000000000000000000000094280904158206336586779248260646538571311458358463204885708437371569913e+8 ; -1.000000000000000000000000000094280904158206336586779248260646538571311458358463204885708437371569913e+8] (CORRECT!) Precision attained 2th Root is in [-9.999999999999999999999999999057190958417936634132207516993534614286885416415367951142915626284300874e+7 ; -9.999999999999999999999999999057190958417936634132207516993534614286885416415367951142915626284300874e+7] (CORRECT!) Precision attained 3th Root is in [-1.189207115002721066718271075973179885704779738394862780439655635200305132302496035542256589101345057e-6 ; -1.189207115002721066718271075973179885704779738394862780439655635200305132302496035542256589101345057e-6] (CORRECT!) Precision attained 4th Root is in [-1.189207115002721066716728865147771944881167446532772045598348814238628204151338284221852635108920512e-6 ; -1.189207115002721066716728865147771944881167446532772045598348814238628204151338284221852635108920512e-6] (CORRECT!) Precision attained ./tGCD CORRECT! GCD calculated properly # 3-2*x + 5*x^2CORRECT! GCD calculated properly CORRECT! GCD calculated properly CORRECT! GCD calculated properly CORRECT! GCD calculated properly CORRECT! GCD calculated properly CORRECT! gcd(A*B,A) = A CORRECT! gcd(B,A*B) = B CORRECT! D is not the gcd psc(0, P6, P7) 31947527181400427273207648 psc(1, P6, P7) 27754088254928081728 psc(2, P6, P7) -41344606374560 psc(3, P6, P7) 176909472 psc(4, P6, P7) 216 INCORRECT! in psc(5). Known minor bug psc(5, P6, P7) 0 # Polynomial is # 3-2*x + 5*x^2# Square Free Part is # 3-2*x + 5*x^2CORRECT! SquareFree part calculation # Polynomial is # -45 + 390*x-1260*x^2 # + 2040*x^3-2115*x^4 + 1350*x^5# Square Free Part is # 3-17*x + 33*x^2 # -37*x^3 + 30*x^4CORRECT! SquareFree part calculation 5 5 CORRECT! SquareFree part calculation ./tRootOf outputPrec = 40, eps = 132 -sqrt(2) = -1.414213562373095048801688724209698078570 sqrt(2) = 1.414213562373095048801688724209698078570 sqrt(3) = 1.732050807568877293527446341505872366943 -sqrt(2) + sqrt(3) = 0.317837245195782244725757617296174288373 sqrt(2) + sqrt(3) = 3.146264369941972342329135065715570445512 sqrt(2) = 1.414213562373095048801 sqrt(3) = 1.732050807568877293527 sqrt(6) = 2.4494897427831780981 CORRECT! sqrt(2) * sqrt(3) = sqrt(6) sqrt(6)-sqrt(2)*sqrt(3) = 0 sqrt(2)/sqrt(3) = 0.816496580927726032732428024901963797322 CORRECT! sqrt(2 - eps) * sqrt(3 + eps) != sqrt(6) GoldenRatio1 = -0.618033988749894848204586834365638117720 GoldenRatio2 = 1.61803398874989484820458683436 CORRECT! GoldenRatio^2 = GoldenRatio + 1 (first root) CORRECT! GoldenRatio^2 = GoldenRatio + 1 (second root) CORRECT! GoldenRatio = (1 +/- sqrt(5))/2 ./tNewton 123 -------------------------------------------------------- Computing Square Root and Cube Root of N=123 to 2000 absolute bits -------------------------------------------------------- --------------------------------------------------- SELF-CHECK for sqrt: reading from output file --------------------------------------------------- Sqrt(123) = 1.1090536506e+1 >>> Reading [readprec]=100 bits uMSB=-102 readprec=-100 >>> CORRECT! Value read from file is accurate >>> AGAIN, reading all 2000 bits uMSB=-2493 prec=-2000 >>> CORRECT! Value read from file is accurate --------------------------------------------------- SELF-CHECK for cube root: reading from output file --------------------------------------------------- CubeRoot(123) = 4.9731898333 uMSB=-105 readprec=-100 >>> CORRECT! Value read from file is accurate ----------------------END------------------------------- make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/poly' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/sumOfSqrts' make[2]: Nothing to be done for `moretest'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/sumOfSqrts' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/testIdent' g++ -c -O2 -Wall -DNDEBUG -I. -I../../inc -I../../gmp/include testBound.cpp -o testBound.o g++ testBound.o -L../../lib -L../../gmp/lib -lcore++ -lgmp -lm -o testBound ./testBound ====================== Start Bound Test =================== -- testing 0 -- testing 1 floorLg(a) = 0 -- testing -1 -- testing 0.5 floorLg(a) = -1 -- testing 9876543210 floorLg(a) = 33 -- testing 12321.9876 floorLg(a) = 13 -- testing 98765/43210 floorLg(a) = 4 -- For more test, call testBound with any argument ====================== End Bound Test ===================== ./testIdent 1 Finished First Identity Test Random test on (a,b,c)=(1.80429e+09, 8.46931e+08, 1.68169e+09) Finished Random Identity Test Entering loop (i,j) = (0,100) (i,j) = (0,90.) (i,j) = (0,80.) (i,j) = (0,70.) (i,j) = (0,60.) (i,j) = (0,50.) (i,j) = (0,40.) (i,j) = (0,30.) (i,j) = (0,20.) (i,j) = (0,10.) (i,j) = (1,100) (i,j) = (1,90.) (i,j) = (1,80.) (i,j) = (1,70.) (i,j) = (1,60.) (i,j) = (1,50.) (i,j) = (1,40.) (i,j) = (1,30.) (i,j) = (1,20.) (i,j) = (1,10.) (i,j) = (2.,100) (i,j) = (2.,90.) (i,j) = (2.,80.) (i,j) = (2.,70.) (i,j) = (2.,60.) (i,j) = (2.,50.) (i,j) = (2.,40.) (i,j) = (2.,30.) (i,j) = (2.,20.) (i,j) = (2.,10.) (i,j) = (3.,100) (i,j) = (3.,90.) (i,j) = (3.,80.) (i,j) = (3.,70.) (i,j) = (3.,60.) (i,j) = (3.,50.) (i,j) = (3.,40.) (i,j) = (3.,30.) (i,j) = (3.,20.) (i,j) = (3.,10.) (i,j) = (4.,100) (i,j) = (4.,90.) (i,j) = (4.,80.) (i,j) = (4.,70.) (i,j) = (4.,60.) (i,j) = (4.,50.) (i,j) = (4.,40.) (i,j) = (4.,30.) (i,j) = (4.,20.) (i,j) = (4.,10.) (i,j) = (5.,100) (i,j) = (5.,90.) (i,j) = (5.,80.) (i,j) = (5.,70.) (i,j) = (5.,60.) (i,j) = (5.,50.) (i,j) = (5.,40.) (i,j) = (5.,30.) (i,j) = (5.,20.) (i,j) = (5.,10.) (i,j) = (6.,100) (i,j) = (6.,90.) (i,j) = (6.,80.) (i,j) = (6.,70.) (i,j) = (6.,60.) (i,j) = (6.,50.) (i,j) = (6.,40.) (i,j) = (6.,30.) (i,j) = (6.,20.) (i,j) = (6.,10.) (i,j) = (7.,100) (i,j) = (7.,90.) (i,j) = (7.,80.) (i,j) = (7.,70.) (i,j) = (7.,60.) (i,j) = (7.,50.) (i,j) = (7.,40.) (i,j) = (7.,30.) (i,j) = (7.,20.) (i,j) = (7.,10.) (i,j) = (8.,100) (i,j) = (8.,90.) (i,j) = (8.,80.) (i,j) = (8.,70.) (i,j) = (8.,60.) (i,j) = (8.,50.) (i,j) = (8.,40.) (i,j) = (8.,30.) (i,j) = (8.,20.) (i,j) = (8.,10.) (i,j) = (9.,100) (i,j) = (9.,90.) (i,j) = (9.,80.) (i,j) = (9.,70.) (i,j) = (9.,60.) (i,j) = (9.,50.) (i,j) = (9.,40.) (i,j) = (9.,30.) (i,j) = (9.,20.) (i,j) = (9.,10.) (i,j) = (10.,100) (i,j) = (10.,90.) (i,j) = (10.,80.) (i,j) = (10.,70.) (i,j) = (10.,60.) (i,j) = (10.,50.) (i,j) = (10.,40.) (i,j) = (10.,30.) (i,j) = (10.,20.) (i,j) = (10.,10.) (i,j) = (11.,100) (i,j) = (11.,90.) (i,j) = (11.,80.) (i,j) = (11.,70.) (i,j) = (11.,60.) (i,j) = (11.,50.) (i,j) = (11.,40.) (i,j) = (11.,30.) (i,j) = (11.,20.) (i,j) = (11.,10.) (i,j) = (12.,100) (i,j) = (12.,90.) (i,j) = (12.,80.) (i,j) = (12.,70.) (i,j) = (12.,60.) (i,j) = (12.,50.) (i,j) = (12.,40.) (i,j) = (12.,30.) (i,j) = (12.,20.) (i,j) = (12.,10.) ./testBound 1 ====================== Start Bound Test =================== -- testing 0 -- testing 1 floorLg(a) = 0 -- testing -1 -- testing 0.5 floorLg(a) = -1 -- testing 9876543210 floorLg(a) = 33 -- testing 12321.9876 floorLg(a) = 13 -- testing 98765/43210 floorLg(a) = 4 -- testing loop floorLg(a) = 1 floorLg(a) = 1 floorLg(a) = 2 floorLg(a) = 2 floorLg(a) = 2 floorLg(a) = 2 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 3 floorLg(a) = 4 floorLg(a) = 4 floorLg(a) = 4 floorLg(a) = 4 ====================== End Bound Test ===================== make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/testIdent' make[2]: Entering directory `/build/buildd/core++-1.7/progs.check/tutorial' make[2]: Nothing to be done for `moretest'. make[2]: Leaving directory `/build/buildd/core++-1.7/progs.check/tutorial' make[1]: Leaving directory `/build/buildd/core++-1.7/progs.check' grep -i error progs.check/log || true -- Should see print out errors! -- Should see no printout errors! Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 0 achieved at sqrt(0) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 Maximum relative error, RelErr = 1.1229053975388e-16 achieved at sqrt(1001) Allowed relative error, ErrBound = 4.4408920985006e-16 CORRECT! There are no test with error! CORRECT! (not a single error) rm -r progs.check touch build-arch-stamp dh_testdir # Add here commands to compile the package. cd doc; /usr/bin/make ps pdf history make[1]: Entering directory `/build/buildd/core++-1.7/doc' latex tutorial >/dev/null bibtex tutorial This is BibTeX, Version 0.99c (Web2C 7.5.6) The top-level auxiliary file: tutorial.aux The style file: abbrv.bst Database file #1: tutorial.bib latex tutorial >/dev/null dvips tutorial -o This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software (www.radicaleye.com) ' TeX output 2008.12.09:1509' -> tutorial.ps . [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] nawk 'BEGIN{FS="]"; \ print "% THIS FILE IS AUTOMATICALLY GENERATED";\ print "% FROM tutorial.tex. DO NOT MODIFY THIS."; }\ /documentclass/ {\ print "\\documentclass[12pt,a4]{article}"; }\ !/documentclass/ {print;}\ END{}\ ' tutorial.tex > tutoriala4.tex pdflatex tutorial >/dev/null pdflatex tutoriala4 >/dev/null latex history >/dev/null dvips history -o This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software (www.radicaleye.com) ' TeX output 2008.12.09:1509' -> history.ps . [1] [2] [3] [4] [5] [6] [7] [8] ps2pdf history.ps history.pdf make[1]: Leaving directory `/build/buildd/core++-1.7/doc' touch build-indep-stamp /usr/bin/fakeroot debian/rules binary-arch dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/tmp mkdir -p debian/tmp/usr/include mkdir -p debian/tmp/usr/lib mkdir -p debian/tmp/usr/share/doc/core/tutorial cp -a inc/CORE inc/CORE.h debian/tmp/usr/include cp -a lib/lib* debian/tmp/usr/lib cd debian/tmp/usr/lib; \ for LIB in libcore++ libcorex++_level1 \ libcorex++_level2 libcorex++_level3; do \ ln -s $LIB.so.1.0.0 $LIB.so.1; \ ln -s $LIB.so.1.0.0 $LIB.so; \ done cp -a doc/*.pdf debian/tmp/usr/share/doc/core cp -a progs examples echo 'CXXFLAGS=-O2 -Wall -DNDEBUG' > examples/Make.options echo 'CORE_INC=' >> examples/Make.options echo 'CORE_LIB=-lcore++ -lgmp -lm' >> examples/Make.options tar chf - --exclude examples/convert.sh examples | gzip --best >debian/tmp/usr/share/doc/core/examples.tar.gz rm -r examples cp -a ANNOUNCEMENT debian/tmp/usr/share/doc/core cp -a FAQs debian/tmp/usr/share/doc/core cp -a README debian/tmp/usr/share/doc/core cp -a doc/ANNOUNCEMENT_* debian/tmp/usr/share/doc/core cp -a doc/papers debian/tmp/usr/share/doc/core cp -a doc/README debian/tmp/usr/share/doc/core/README.doc dh_install --sourcedir=debian/tmp --fail-missing mkdir -p debian/libcore++-dev/usr/share/doc mkdir -p debian/libcore++-doc/usr/share/doc mkdir -p debian/libcore++-demo/usr/share/doc ln -s libcore++1c2 debian/libcore++-dev/usr/share/doc/libcore++-dev ln -s libcore++1c2 debian/libcore++-doc/usr/share/doc/libcore++-doc ln -s libcore++1c2 debian/libcore++-demo/usr/share/doc/libcore++-demo install -D -m644 debian/libcore++1c2.shlibs debian/libcore++1c2/DEBIAN/shlibs dh_testdir -a dh_testroot -a dh_installdocs -plibcore++1c2 debian/copyright dh_installchangelogs -plibcore++1c2 dh_link -a dh_strip -a dh_strip debug symbol extraction: all non-arch-all packages for this build platform sparc: libcore++1c2 libcore++-dev dh_strip debug symbol extraction: packages to act on: libcore++1c2 libcore++-dev dh_strip debug symbol extraction: ignored packages: pkgstriptranslations: processing control file: ./debian/libcore++1c2-dbgsym/DEBIAN/control, package libcore++1c2-dbgsym, directory ./debian/libcore++1c2-dbgsym pkgstriptranslations: libcore++1c2-dbgsym does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgmaintainermangler: Maintainer field overridden to "Ubuntu MOTU Developers " warning, `/build/buildd/core++-1.7/debian/libcore++1c2-dbgsym/DEBIAN/control' contains user-defined field `Original-Maintainer' dpkg-deb: ignoring 1 warnings about the control file(s) dpkg-deb: building package `libcore++1c2-dbgsym' in `../libcore++1c2-dbgsym_1.7-11_sparc.ddeb'. dh_compress -a -X\.tex -X\.bib dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a -ldebian/libcore++1c2/usr/lib dh_gencontrol -a dh_md5sums -a dh_builddeb -a pkgstriptranslations: processing control file: ./debian/libcore++1c2/DEBIAN/control, package libcore++1c2, directory ./debian/libcore++1c2 pkgstriptranslations: libcore++1c2 does not contain translations, skipping pkgstriptranslations: processing control file: ./debian/libcore++-dev/DEBIAN/control, package libcore++-dev, directory ./debian/libcore++-dev pkgstriptranslations: libcore++-dev does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgmaintainermangler: Maintainer field overridden to "Ubuntu MOTU Developers " warning, `debian/libcore++1c2/DEBIAN/control' contains user-defined field `Original-Maintainer' dpkg-deb: ignoring 1 warnings about the control file(s) dpkg-deb: building package `libcore++1c2' in `../libcore++1c2_1.7-11_sparc.deb'. pkgstriptranslations: processing control file: ./debian/libcore++1c2/DEBIAN/control, package libcore++1c2, directory ./debian/libcore++1c2 pkgstriptranslations: libcore++1c2 does not contain translations, skipping pkgstriptranslations: processing control file: ./debian/libcore++-dev/DEBIAN/control, package libcore++-dev, directory ./debian/libcore++-dev pkgstriptranslations: libcore++-dev does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgmaintainermangler: Maintainer field overridden to "Ubuntu MOTU Developers " warning, `debian/libcore++-dev/DEBIAN/control' contains user-defined field `Original-Maintainer' dpkg-deb: ignoring 1 warnings about the control file(s) dpkg-deb: building package `libcore++-dev' in `../libcore++-dev_1.7-11_sparc.deb'. dpkg-genchanges -B -mUbuntu/sparc Build Daemon >../core++_1.7-11_sparc.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20081209-1509 Publishing debug debs. chroot-autobuild/build/buildd/libcore++1c2_1.7-11_sparc.deb: new debian package, version 2.0. size 637680 bytes: control archive= 1023 bytes. 711 bytes, 17 lines control 420 bytes, 6 lines md5sums 135 bytes, 7 lines * postinst #!/bin/sh 132 bytes, 7 lines * postrm #!/bin/sh 124 bytes, 4 lines shlibs Package: libcore++1c2 Source: core++ Version: 1.7-11 Architecture: sparc Maintainer: Ubuntu MOTU Developers Original-Maintainer: Joachim Reichel Installed-Size: 1816 Depends: libc6 (>= 2.6), libgcc1 (>= 1:4.1.1), libgmp3c2, libstdc++6 (>= 4.2.1) Conflicts: libcore++1 Replaces: libcore++1 Section: non-free/libs Priority: optional Homepage: http://www.cs.nyu.edu/exact/core_pages/intro.html Description: C/C++ library for robust computation The Core Library is a collection of C/C++ classes for exact computation with real algebraic numbers. It embodies a precision-driven approach and is useful for robust numerical (especially geometric) algorithms. chroot-autobuild/build/buildd/libcore++-dev_1.7-11_sparc.deb: new debian package, version 2.0. size 672134 bytes: control archive= 1965 bytes. 659 bytes, 15 lines control 3046 bytes, 48 lines md5sums Package: libcore++-dev Source: core++ Version: 1.7-11 Architecture: sparc Maintainer: Ubuntu MOTU Developers Original-Maintainer: Joachim Reichel Installed-Size: 2668 Depends: libcore++1c2 (= 1.7-11), libgmp3-dev Section: non-free/libdevel Priority: optional Homepage: http://www.cs.nyu.edu/exact/core_pages/intro.html Description: C/C++ library for robust computation (development files) The Core Library is a collection of C/C++ classes for exact computation with real algebraic numbers. It embodies a precision-driven approach and is useful for robust numerical (especially geometric) algorithms. chroot-autobuild/build/buildd/libcore++1c2_1.7-11_sparc.deb: drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./ drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./usr/ drwxr-xr-x root/root 0 2008-12-09 15:09:34 ./usr/lib/ -rw-r--r-- root/root 292928 2008-12-09 15:09:34 ./usr/lib/libcore++.so.1.0.0 -rw-r--r-- root/root 135944 2008-12-09 15:09:34 ./usr/lib/libcorex++_level1.so.1.0.0 -rw-r--r-- root/root 639404 2008-12-09 15:09:34 ./usr/lib/libcorex++_level2.so.1.0.0 -rw-r--r-- root/root 714140 2008-12-09 15:09:34 ./usr/lib/libcorex++_level3.so.1.0.0 drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./usr/share/ drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./usr/share/doc/ drwxr-xr-x root/root 0 2008-12-09 15:09:35 ./usr/share/doc/libcore++1c2/ -rw-r--r-- root/root 5592 2008-12-09 14:33:38 ./usr/share/doc/libcore++1c2/copyright -rw-r--r-- root/root 1117 2008-12-09 14:33:38 ./usr/share/doc/libcore++1c2/changelog.Debian.gz lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcore++.so.1 -> libcore++.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcorex++_level1.so.1 -> libcorex++_level1.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcorex++_level2.so.1 -> libcorex++_level2.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcorex++_level3.so.1 -> libcorex++_level3.so.1.0.0 chroot-autobuild/build/buildd/libcore++-dev_1.7-11_sparc.deb: drwxr-xr-x root/root 0 2008-12-09 15:09:35 ./ drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./usr/ drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./usr/include/ drwxr-xr-x root/root 0 2004-11-18 21:12:20 ./usr/include/CORE/ -rw-r--r-- root/root 16009 2004-11-17 18:47:06 ./usr/include/CORE/BigFloat.h -rw-r--r-- root/root 12153 2004-11-10 19:53:58 ./usr/include/CORE/BigFloatRep.h -rw-r--r-- root/root 13814 2008-12-09 14:33:41 ./usr/include/CORE/BigInt.h -rw-r--r-- root/root 11994 2008-12-09 14:33:41 ./usr/include/CORE/BigRat.h -rw-r--r-- root/root 2628 2004-08-10 09:37:41 ./usr/include/CORE/CGAL_Expr.h -rw-r--r-- root/root 2289 2004-10-01 23:02:45 ./usr/include/CORE/CORE.h -rw-r--r-- root/root 291 2004-02-26 20:29:14 ./usr/include/CORE/Config.h -rw-r--r-- root/root 5021 2004-08-16 16:58:53 ./usr/include/CORE/CoreAux.h -rw-r--r-- root/root 8132 2004-08-10 09:37:41 ./usr/include/CORE/CoreDefs.h -rw-r--r-- root/root 14999 2004-11-05 21:41:37 ./usr/include/CORE/Expr.h -rw-r--r-- root/root 37044 2004-11-06 04:49:49 ./usr/include/CORE/ExprRep.h -rw-r--r-- root/root 6179 2008-12-09 14:33:41 ./usr/include/CORE/Filter.h -rw-r--r-- root/root 384 2004-07-09 09:04:54 ./usr/include/CORE/Gmp.h -rw-r--r-- root/root 1333 2004-02-27 20:13:07 ./usr/include/CORE/Impl.h -rw-r--r-- root/root 1031 2004-08-10 09:37:41 ./usr/include/CORE/Makefile -rw-r--r-- root/root 2993 2004-11-06 04:48:27 ./usr/include/CORE/MemoryPool.h -rw-r--r-- root/root 13630 2004-08-10 09:37:41 ./usr/include/CORE/Real.h -rw-r--r-- root/root 12988 2004-08-11 01:06:01 ./usr/include/CORE/RealRep.h -rw-r--r-- root/root 3223 2004-08-10 09:37:41 ./usr/include/CORE/RefCount.h -rw-r--r-- root/root 1923 2004-08-10 09:37:41 ./usr/include/CORE/Timer.h -rw-r--r-- root/root 6712 2004-08-10 09:37:41 ./usr/include/CORE/extLong.h -rw-r--r-- root/root 1052 2008-12-09 14:33:41 ./usr/include/CORE/geombase.h -rw-r--r-- root/root 1287 2004-08-10 09:37:41 ./usr/include/CORE/geometry2d.h -rw-r--r-- root/root 1438 2004-08-10 09:37:41 ./usr/include/CORE/geometry3d.h -rw-r--r-- root/root 4675 2008-12-09 14:33:41 ./usr/include/CORE/linearAlgebra.h drwxr-xr-x root/root 0 2004-11-18 21:12:20 ./usr/include/CORE/geom2d/ -rw-r--r-- root/root 3950 2003-09-04 17:51:33 ./usr/include/CORE/geom2d/circle2d.h -rw-r--r-- root/root 5016 2004-05-26 20:20:43 ./usr/include/CORE/geom2d/line2d.h -rw-r--r-- root/root 5237 2004-08-08 15:20:52 ./usr/include/CORE/geom2d/point2d.h -rw-r--r-- root/root 5877 2004-05-26 20:20:43 ./usr/include/CORE/geom2d/segment2d.h drwxr-xr-x root/root 0 2004-11-18 21:12:20 ./usr/include/CORE/geom3d/ -rw-r--r-- root/root 4041 2003-09-04 17:51:39 ./usr/include/CORE/geom3d/line3d.h -rw-r--r-- root/root 4205 2003-09-04 17:51:39 ./usr/include/CORE/geom3d/plane3d.h -rw-r--r-- root/root 5154 2003-09-04 17:51:39 ./usr/include/CORE/geom3d/point3d.h -rw-r--r-- root/root 4519 2003-09-04 17:51:39 ./usr/include/CORE/geom3d/polygon3d.h -rw-r--r-- root/root 4993 2003-09-04 17:51:40 ./usr/include/CORE/geom3d/segment3d.h -rw-r--r-- root/root 5608 2003-09-04 17:51:40 ./usr/include/CORE/geom3d/triangle3d.h drwxr-xr-x root/root 0 2004-11-18 21:12:20 ./usr/include/CORE/poly/ -rw-r--r-- root/root 16377 2008-12-09 14:33:41 ./usr/include/CORE/poly/Curves.h -rw-r--r-- root/root 37970 2008-12-09 14:33:41 ./usr/include/CORE/poly/Curves.tcc -rw-r--r-- root/root 14260 2004-11-05 21:10:46 ./usr/include/CORE/poly/Poly.h -rw-r--r-- root/root 40836 2008-12-09 14:33:41 ./usr/include/CORE/poly/Poly.tcc -rw-r--r-- root/root 39481 2008-12-09 14:33:41 ./usr/include/CORE/poly/Sturm.h -rw-r--r-- root/root 1388 2004-07-21 16:24:33 ./usr/include/CORE.h drwxr-xr-x root/root 0 2008-12-09 15:09:34 ./usr/lib/ -rw-r--r-- root/root 497650 2008-12-09 15:09:34 ./usr/lib/libcore++.a -rw-r--r-- root/root 158478 2008-12-09 15:09:34 ./usr/lib/libcorex++_level1.a -rw-r--r-- root/root 688478 2008-12-09 15:09:34 ./usr/lib/libcorex++_level2.a -rw-r--r-- root/root 811440 2008-12-09 15:09:34 ./usr/lib/libcorex++_level3.a drwxr-xr-x root/root 0 2008-12-09 15:09:30 ./usr/share/ drwxr-xr-x root/root 0 2008-12-09 15:09:31 ./usr/share/doc/ drwxr-xr-x root/root 0 2008-12-09 15:09:35 ./usr/share/doc/libcore++1c2/ -rw-r--r-- root/root 3629 2004-11-12 22:54:16 ./usr/share/doc/libcore++1c2/ANNOUNCEMENT -rw-r--r-- root/root 4405 2004-08-11 01:06:01 ./usr/share/doc/libcore++1c2/FAQs.gz -rw-r--r-- root/root 13182 2004-11-12 22:56:33 ./usr/share/doc/libcore++1c2/README.gz lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcore++.so -> libcore++.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcorex++_level1.so -> libcorex++_level1.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcorex++_level2.so -> libcorex++_level2.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/lib/libcorex++_level3.so -> libcorex++_level3.so.1.0.0 lrwxrwxrwx root/root 0 2008-12-09 15:09:31 ./usr/share/doc/libcore++-dev -> libcore++1c2 core++_1.7-11_sparc.changes: Format: 1.8 Date: Mon, 30 Jun 2008 19:14:51 +0200 Source: core++ Binary: libcore++1c2 libcore++-dev libcore++-doc libcore++-demo Architecture: sparc Version: 1.7-11 Distribution: jaunty Urgency: low Maintainer: Ubuntu/sparc Build Daemon Changed-By: Joachim Reichel Description: libcore++-demo - C/C++ library for robust computation (demos) libcore++-dev - C/C++ library for robust computation (development files) libcore++-doc - C/C++ library for robust computation (documentation) libcore++1c2 - C/C++ library for robust computation Closes: 488113 Changes: core++ (1.7-11) unstable; urgency=low . * Add patch g++-4.3-compatibility.dpatch. * debian/control: Adjust dependencies after TeX and Ghostscript transitions. * debian/rules: Remove workaround for #428876 and #435229 (Closes: #488113). * Update Standards-Version to 3.8.0 (explain in debian/copyright why package is in non-free). Checksums-Sha1: 8cf64dd2e59edfa18ef5a1d05bf2d6a4c466dce8 637680 libcore++1c2_1.7-11_sparc.deb 9312a1be29ea1f6329bebd2ec1aa6280fd55553c 672134 libcore++-dev_1.7-11_sparc.deb Checksums-Sha256: fbb942ce82153f4a85a2f05734f85e8b9565457b8c330ba27c4a47fe01d21d80 637680 libcore++1c2_1.7-11_sparc.deb ac5c20f4593063d74bd6ef757a39378560b01502d7ca499d3e8550f67147bfec 672134 libcore++-dev_1.7-11_sparc.deb Files: 70d4ae729e2c2135e528356c9166290e 637680 non-free/libs optional libcore++1c2_1.7-11_sparc.deb 8b217a1df74703eaf0705f59a4b1de2b 672134 non-free/libdevel optional libcore++-dev_1.7-11_sparc.deb ****************************************************************************** Built successfully NOTE: The package could have used binaries from the following packages (access time changed) without a source dependency: tetex-bin: /usr/bin/latex /usr/bin/dvips Purging chroot-autobuild/build/buildd/core++-1.7 ------------------------------------------------------------------------------ /usr/bin/sudo dpkg --root=/home/buildd/build-773154-1828218/chroot-autobuild --purge libxmu6 groff-base libx11-data gsfonts fontconfig-config defoma ttf-dejavu-core libkpathsea4 gettext file libxaw7 ttf-dejavu ghostscript libxpm4 texlive-common x11-common libcroco3 texlive-base-bin libpopt0 libfreetype6 libjpeg62 libxcb1 tex-common html2text libgcrypt11 debhelper libfontconfig1 libgmpxx4ldbl libkeyutils1 libcupsimage2 libgnutls26 libmagic1 libtiff4 libexpat1 bsdmainutils libxau6 libx11-6 libkrb53 libglib2.0-0 libnewt0.52 mime-support whiptail dpatch libxcb-xlib0 libtasn1-3 libxt6 libxdmcp6 texlive-base libpoppler3 po-debconf texlive-doc-base libpaper1 libgs8 libxml2 ed libpng12-0 man-db libice6 intltool-debian texlive-latex-base libcups2 libgpg-error0 gettext-base libgmp3-dev ttf-dejavu-extra libsm6 libxext6 (Reading database ... 16129 files and directories currently installed.) Removing ghostscript ... Purging font configuration of gs... Purging category psprint.. Purging category cmap.. Purging category cid.. Purging category truetype.. Purging category gsfontderivative.. Purging category type3.. Purging category type1.. Purging configuration files for ghostscript ... Removing debhelper ... Removing dpatch ... Purging configuration files for dpatch ... Removing po-debconf ... Removing libgs8 ... Purging configuration files for libgs8 ... Removing man-db ... Purging configuration files for man-db ... Removing intltool-debian ... Removing texlive-latex-base ... Running 'mktexlsr /usr/share/texmf /var/lib/texmf /usr/share/texmf-texlive'. This may take some time... done. Running 'updmap-sys'. This may take some time... done. Purging configuration files for texlive-latex-base ... Removing libgmp3-dev ... Removing groff-base ... Purging configuration files for groff-base ... Removing gsfonts ... Unregistering PostScript fonts... done. Purging configuration files for gsfonts ... Removing gettext ... Removing libcroco3 ... Purging configuration files for libcroco3 ... Removing html2text ... Purging configuration files for html2text ... Removing libgmpxx4ldbl ... Purging configuration files for libgmpxx4ldbl ... Removing libcupsimage2 ... Purging configuration files for libcupsimage2 ... Removing libtiff4 ... Purging configuration files for libtiff4 ... Removing bsdmainutils ... Purging configuration files for bsdmainutils ... Removing libglib2.0-0 ... Purging configuration files for libglib2.0-0 ... Removing texlive-base ... Running 'mktexlsr /usr/share/texmf /var/lib/texmf /usr/share/texmf-texlive'. This may take some time... done. Running 'fmtutil-sys --all'. This may take some time... done. Running 'updmap-sys'. This may take some time... done. Purging configuration files for texlive-base ... Removing texlive-doc-base ... Running 'mktexlsr /usr/share/texmf /var/lib/texmf /usr/share/texmf-texlive'. This may take some time... done. Purging configuration files for texlive-doc-base ... Removing libpaper1 ... Purging configuration files for libpaper1 ... Removing libcups2 ... Purging configuration files for libcups2 ... Removing gettext-base ... Removing texlive-base-bin ... Purging configuration files for texlive-base-bin ... Removing libgnutls26 ... Purging configuration files for libgnutls26 ... Removing libkrb53 ... Purging configuration files for libkrb53 ... Removing mime-support ... Purging configuration files for mime-support ... Removing libtasn1-3 ... Purging configuration files for libtasn1-3 ... Removing libpoppler3 ... Purging configuration files for libpoppler3 ... Removing libxml2 ... Purging configuration files for libxml2 ... Removing ed ... Removing libpng12-0 ... Purging configuration files for libpng12-0 ... Removing libkpathsea4 ... Purging configuration files for libkpathsea4 ... Removing libxaw7 ... Purging configuration files for libxaw7 ... Removing libxpm4 ... Purging configuration files for libxpm4 ... Removing texlive-common ... Purging configuration files for texlive-common ... Removing libjpeg62 ... Removing tex-common ... Purging configuration files for tex-common ... Removing libgcrypt11 ... Purging configuration files for libgcrypt11 ... Removing libfontconfig1 ... Purging configuration files for libfontconfig1 ... Removing libkeyutils1 ... Purging configuration files for libkeyutils1 ... Removing libexpat1 ... Purging configuration files for libexpat1 ... Removing libgpg-error0 ... Purging configuration files for libgpg-error0 ... Removing libxmu6 ... Purging configuration files for libxmu6 ... Removing fontconfig-config ... Purging configuration files for fontconfig-config ... Removing ttf-dejavu ... Removing libfreetype6 ... Purging configuration files for libfreetype6 ... Removing libxt6 ... Purging configuration files for libxt6 ... Removing ttf-dejavu-extra ... Purging configuration files for ttf-dejavu-extra ... Removing libsm6 ... Purging configuration files for libsm6 ... Removing libxext6 ... Purging configuration files for libxext6 ... Removing ttf-dejavu-core ... Purging configuration files for ttf-dejavu-core ... Removing libx11-6 ... Purging configuration files for libx11-6 ... Removing libxcb-xlib0 ... Purging configuration files for libxcb-xlib0 ... Removing libice6 ... Purging configuration files for libice6 ... Removing libx11-data ... Removing defoma ... Purging configuration files for defoma ... Removing file ... Purging configuration files for file ... Removing x11-common ... Purging configuration files for x11-common ... Removing libxcb1 ... Purging configuration files for libxcb1 ... Removing libmagic1 ... Purging configuration files for libmagic1 ... Removing libxau6 ... Purging configuration files for libxau6 ... Removing whiptail ... Removing libxdmcp6 ... Purging configuration files for libxdmcp6 ... Removing libpopt0 ... Purging configuration files for libpopt0 ... Removing libnewt0.52 ... Purging configuration files for libnewt0.52 ... ****************************************************************************** Finished at 20081209-1510 Build needed 00:36:15, 30744k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['/usr/share/launchpad-buildd/slavebin/scan-for-processes', '773154-1828218'] Scanning for processes to kill in build 773154-1828218... Scanning for processes to kill in build /home/buildd/build-773154-1828218/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', '773154-1828218'] Unmounting chroot for build 773154-1828218... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', '773154-1828218'] Removing build 773154-1828218