C、C++ 多倍長演算 ライブラリ ツール

ここでは、「 C、C++ 多倍長演算 ライブラリ ツール」 に関する記事を紹介しています。
多倍長演算ライブラリについての情報を探してみた。
まずはgoogleの検索結果:
C++ 多倍長整数

●一般
C/C++向け多倍長整数資料を探している人のためのガイドには、
 GMPMintGauche
 IDMさん梅谷さんのIMStiny_mp技術計算用Cプログラム ソースなどが紹介されている。

Linux Japan 連載記事「もう少しだけLinux」内の
 「第27回 任意精度計算ライブラリ」
 「第28回 任意精度計算ツール」

[cppll:10403] Re: 多桁計算の標準クラスはないのでしょうか?
C++で多桁計算の仕方。 Yahoo知恵袋

●UBASIC
Ubasic home 本家


●GMP
The GNU MP Bignum Library 本家

GMP and MPFR static linking problem


●NTL
本家:http://www.shoup.net/ntl/

2006-04-12 C++で多倍長整数

あと注意点として代入時の暗黙のキャストは行われるが、コンストラクタでの代入は明示的に変換関数to_ZZ()を呼ぶ必要あり。詳しくは公式ページの説明参照。



プログラミング言語 C++
NTLのインストール、多倍長整数計算の演習。丁寧。
(ZZ、ZZX、ZZ_p、ZZ_pX、ZZ_pE)


●SN Library
アセンブラを使わないC++による多倍長計算
SN library(gcc Version)




●多倍長以外も含めていろいろ
CPAN Distributions >> M >> Math 膨大なリンク

Mac Wiki 数値計算 多倍長に関してはNTLなどが紹介されている。

The Object-Oriented Numerics Page

# Multiprecision, arbitrary precision data types

* NTL, arbitrary length integers, vectors/matrices/polynomials over integers and over finite fields.
* EXTNUM, version of double which has the same number of mantissa bits as IEEE 754, but extends the exponent to have range from 10^-646456993 to 10^646456992.
* CLN, an extensive number library. Arbitrary precision integer, float, rational, polynomials, complex, modular integers, transcendental functions, assembly language kernels for some CPUs.
* MUNTL, Multiprecision unsigned number template library (C++).
* MPFUN++, a multiple precision floating point computation package in C++.
* LiDIA, A library for computational number theory. Provides a collection of highly optimized implementations of various multiprecision data types and time-intensive algorithms.
* Apfloat, a C++ High Performance Arbitrary Precision Arithmetic Package
* hfloat, An arbitrary precision package, optimized for very large (> 1000) (decimal) digit numbers.
* fPoint, a C++ class which helps convert floating-point arithmetic to fixed-point arithmetic by recommending range and precision requirements.
* doubledouble, a quad-precision (approximately 30 decimal place) floating point arithmetic class.

コメント
この記事へのコメント
コメントを投稿する
URL:
Comment:
Pass:
秘密: 管理者にだけ表示を許可する
 
トラックバック
この記事のトラックバックURL
http://tekitobibouroku.blog42.fc2.com/tb.php/113-2129601b
この記事にトラックバックする(FC2ブログユーザー)
この記事へのトラックバック
管理人の承認後に表示されます
2009/05/22(金) |