Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.unit0.net!news.nask.pl!news.nask.org.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq Newsgroups: pl.comp.programming Subject: Dowolna precyzja - Boost? Date: Thu, 15 Sep 2016 10:15:15 +0200 Organization: ATMAN - ATM S.A. Lines: 32 Message-ID: NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: node1.news.atman.pl 1473927307 23273 91.239.205.105 (15 Sep 2016 08:15:07 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Thu, 15 Sep 2016 08:15:07 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Mozilla-News-Host: news://news.atman.pl:119 Xref: csiph.com pl.comp.programming:28732 Wiem, już jak użyć float 128 bit, ale jak użyć dowolnej precyzji. W Boost katalog multiprecision zawiera: katalogi: concepts\ cpp_bin_float\ cpp_int\ detail\ traits\ pliki: cpp_bin_float.hpp cpp_dec_float.hpp cpp_int.hpp debug_adaptor.hpp float128.hpp gmp.hpp integer.hpp logged_adaptor.hpp miller_rabin.hpp mpfi.hpp mpfr.hpp number.hpp random.hpp rational_adaptor.hpp tommath.hpp Czy użyć gmp.hpp inne ? Help jest http://www.boost.org/doc/libs/1_57_0/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/ są tam: cpp_bin_float, gmp_float,mpfr_float - czym się różnią, które lepsze, szybsze? potrzebują bibliotek tak jak float128 potrzebował quadmath?