2013-02-21から1日間の記事一覧

Boost.Multiprecision - Boost.Randomの分布クラスを使用する

C++

先日、「Boost.Multiprecision ビット数指定の乱数生成」で、independent_bits_engineを紹介しましたが、Boost.Multiprecisionの多倍長整数と多倍長浮動小数点数は、Boost.Randomの既存の分布クラスにも適用できます。 以下は、無限精度のcpp_intで、256ビッ…