Article View: pl.comp.lang.c
Article #308812Re: Działania na wielkich liczbach
From: Borneq
Date: Thu, 06 Oct 2016 14:55
Date: Thu, 06 Oct 2016 14:55
8 lines
1384 bytes
1384 bytes
W dniu 06.10.2016 o 14:52, Borneq pisze: > lepiej działa gdy się zamieni na > if (mpz_divisible_p(x.get_mpz_t(), i.get_mpz_t())) break; > czego nie mogę sprawdzić, bo się nie kompiluje > Ta liczb jest bardzo mała: limb jest = 1 (to chyba 64 bity) Reszta z dzielenia na liczbach o 6.5 tysiąca cyfr - ponad 3 razy szybciej na GMP.
Technical Details
Message-ID:
<nt5ols$tcl$1@node1.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<nsmfdj$hki$1@node1.news.atman.pl> <nsmmki$q6o$1@node1.news.atman.pl> <nt1mo1$sc5$1@node1.news.atman.pl> <dd0d07ca-bbe4-4edf-9fed-d701cbfd9b02@googlegroups.com> <nt5hel$m64$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: Działania na wielkich liczbach Date: Thu, 6 Oct 2016 16:55:58 +0200 Organization: ATMAN - ATM S.A. Lines: 8 Message-ID: <nt5ols$tcl$1@node1.news.atman.pl> References: <nsmfdj$hki$1@node1.news.atman.pl> <nsmmki$q6o$1@node1.news.atman.pl> <nt1mo1$sc5$1@node1.news.atman.pl> <dd0d07ca-bbe4-4edf-9fed-d701cbfd9b02@googlegroups.com> <nt5hel$m64$1@node1.news.atman.pl> NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 X-Trace: node1.news.atman.pl 1475765756 30101 91.239.205.105 (6 Oct 2016 14:55:56 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Thu, 6 Oct 2016 14:55:56 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: <nt5hel$m64$1@node1.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit