<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>quasistatic</author_name>
  <author_url>https://blog.hatena.ne.jp/quasistatic/</author_url>
  <blog_title>借りてきた猫のように静か</blog_title>
  <blog_url>https://quasistatic.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>Cに移し変えるなら、GMPとMPFRの両ライブラリを使うのがいいと思う*1。 精度に関する心配を減らせる上に便利な関数も用意されている。 #include &lt;stdio.h&gt; #include &lt;gmp.h&gt; #include &lt;mpfr.h&gt; int prob(mpfr_t p, unsigned int a, unsigned int b); int prob(mpfr_t p, unsigned int a, unsigned int b) { unsigned int m; mpz_t x, y, c; if (a &gt; b) return 1; mpz_inits(x, y, c, N…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquasistatic.hatenadiary.jp%2Fentry%2F20120207%2Fp1&quot; title=&quot; コイン投げ #9 - 借りてきた猫のように静か&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-07 00:00:00</published>
  <title> コイン投げ #9</title>
  <type>rich</type>
  <url>https://quasistatic.hatenadiary.jp/entry/20120207/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
