{"blog_url":"https://faithandbrave.hateblo.jp/","width":"100%","url":"https://faithandbrave.hateblo.jp/entry/20130219/1361254664","version":"1.0","provider_url":"https://hatena.blog","published":"2013-02-19 15:17:44","author_name":"faith_and_brave","categories":["C++"],"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20130219%2F1361254664\" title=\" Boost.Multiprecision \u6587\u5b57\u5217\u304b\u3089\u306e\u5909\u63db - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","title":" Boost.Multiprecision \u6587\u5b57\u5217\u304b\u3089\u306e\u5909\u63db","description":"Boost.Multiprecision\u306e\u591a\u500d\u9577\u6574\u6570\u304a\u3088\u3073\u591a\u500d\u9577\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306f\u3001\u6587\u5b57\u5217\u304b\u3089\u306e\u5909\u63db\u304c\u3067\u304d\u307e\u3059\u3002 \u521d\u671f\u5316\u306b\u306f\u3001explicit\u306a\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u6587\u5b57\u5217\u306f\u3001char\u914d\u5217\u3001\u3082\u3057\u304f\u306fstd::string\u306e\u3044\u305a\u308c\u304b\u3092\u53d7\u3051\u53d6\u308c\u307e\u3059\u3002 #include <iostream> #include <string> #include <boost/multiprecision/cpp_int.hpp> using namespace boost::multiprecision; int main() { cpp_int x(\"123\"); cpp_int y(std::string(\u2026","provider_name":"Hatena Blog","height":"190"}