-
Notifications
You must be signed in to change notification settings - Fork 6
Description
`
ecd-imac27$ make test
./configure
Creating a config.mak to be sourced by the makefile
...
prefix = /lib
libname = arbitraire
Attempting to produce libarbitraire.a
...
arbitraire requires a C compiler, make' (gmake), and
ar'
this configure script does not automatically detect them
but instead the makefile uses the environment
...
...
...
done.
CFLAGS="-O3 -D_ARB_TIME=1 -D_ARB_DEBUG=1" /Applications/Xcode.app/Contents/Developer/usr/bin/make all
/Applications/Xcode.app/Contents/Developer/usr/bin/make static
ar -cvq libarbitraire.a src/_arb_time.o src/add-sub.o src/arb_flipsign.o src/arb_leftshift.o src/arb_memset.o src/arb_print.o src/arb_setsign.o src/compare.o src/copy.o src/div.o src/exponentation.o src/fxd2sizet.o src/general.o src/globals.o src/hrdware2arb.o src/iszero.o src/karatsuba.o src/long-multiplication.o src/long_sqrt.o src/make_bignum.o src/modulo.o src/newtonian-division.o src/newtonian-nth-root.o src/newtonian-sqrt.o src/oddity.o src/old_division.o src/remove_leading_zeros.o src/str2fxdpnt.o
q - src/_arb_time.o
q - src/add-sub.o
q - src/arb_flipsign.o
q - src/arb_leftshift.o
q - src/arb_memset.o
q - src/arb_print.o
q - src/arb_setsign.o
q - src/compare.o
q - src/copy.o
q - src/div.o
q - src/exponentation.o
q - src/fxd2sizet.o
q - src/general.o
q - src/globals.o
q - src/hrdware2arb.o
q - src/iszero.o
q - src/karatsuba.o
q - src/long-multiplication.o
q - src/long_sqrt.o
q - src/make_bignum.o
q - src/modulo.o
q - src/newtonian-division.o
q - src/newtonian-nth-root.o
q - src/newtonian-sqrt.o
q - src/oddity.o
q - src/old_division.o
q - src/remove_leading_zeros.o
q - src/str2fxdpnt.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make create_test
make[2]: Nothing to be done for `create_test'.
echo "sqrt tests"
sqrt tests
./tests/random-wrapper.sh sqrt 1000 null
1,13d0
< 9779282271250574089465500511790.293830466502067213040276765320539865
< 57384149373567314203148257500673903786388702762127350012637071917386
< 15824877835378424676225245568868529348665157389702963109233423797961
< 41449455757979217176316792291607922743359830612748732787622092458297
< 87608311047939503887403792997456831418414911441770544480235544901241
< 41825642970032359569744622495574577808613690785238745404649201977300
< 45040987969927121963109660995595859270656901771119848611628236505892
< 71928249546720788370831996260236641596391118096511441733900084238896
< 87041527065889493281356852028895883434641593431564780282681923768551
< 62968175123497745800675434287205599663340694747328411099428455981873
< 45265481444500640081050130223109947421639320036572204216333109533292
< 01861069172158825384343586805683454423120181628857093963009410891969
< 23617988738583694803939559745672567269
Test failed! look inside of '3-x86_64-apple-darwin22-tests-passed.txt' to reveal the failing numbers!
fatal Test failed! look inside of '3-x86_64-apple-darwin22-tests-passed.txt' to reveal the failing numbers!
ecd-imac27$ cat 3-x86_64-apple-darwin22-tests-passed.txt
This is a set of PRNG tests to ensure that arbitraire 3 works
properly on the following machine type:
Darwin ecd-imac27.local 22.6.0 Darwin Kernel Version 22.6.0: Thu Apr 24 20:25:14 PDT 2025; root:xnu-8796.141.3.712.2~1/RELEASE_X86_64 x86_64
3-x86_64-apple-darwin22-tests-passed.txt
The tests should halt upon detecting an error and the contents
of 'testing.bc' can be inspected to reveal the failing test
Test number: 1
scale=429;
sqrt(95634361740795786942426661416495958506881950648262624203646285.938634535605276438055450016414227082636298935598615362383936378297552374199749700338787102959888733163772768661816785615010998983491971147223324915476197206296866955091013345057706318158900686473904005551277149082818800888627239659407554489389680672651643569524467144882941821088266540196040419343723037339439587131341947118045547143896050100933068174195912496402703528541534131978589393562304794049023396821130190120698040419035959291073407618740901705768871586735834396268052265357044821999862568009627652170835539943233431898610894569099072627741167600791772752410331238612696725485776876361504767803874035727297967864490763259139418141614655361269609987423338402316677254792039029119071307447690269185566989881014121553290159377206774574573894316664005213162183980537905294947703125948284493781836727276980852495989809)
quit
ecd-imac27$ cat testing.bc
scale=429;
sqrt(95634361740795786942426661416495958506881950648262624203646285.938634535605276438055450016414227082636298935598615362383936378297552374199749700338787102959888733163772768661816785615010998983491971147223324915476197206296866955091013345057706318158900686473904005551277149082818800888627239659407554489389680672651643569524467144882941821088266540196040419343723037339439587131341947118045547143896050100933068174195912496402703528541534131978589393562304794049023396821130190120698040419035959291073407618740901705768871586735834396268052265357044821999862568009627652170835539943233431898610894569099072627741167600791772752410331238612696725485776876361504767803874035727297967864490763259139418141614655361269609987423338402316677254792039029119071307447690269185566989881014121553290159377206774574573894316664005213162183980537905294947703125948284493781836727276980852495989809)
quit
`