<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogelog</author_name>
  <author_url>https://blog.hatena.ne.jp/hogelog/</author_url>
  <blog_title>hogelogの日記</blog_title>
  <blog_url>https://hogelog.hatenablog.com/</blog_url>
  <categories>
    <anon>d言語</anon>
  </categories>
  <description>「モンテカルロ法を実装しなきゃ！」という気分になった。まずモンテカルロ法がなんなのかわからんかったので、調べるところから。適当にぐぐった。「確率で積分がどうしたこうしてほげほげ」。よくわからんな。円周率を求めることができるらしい。なんか聞いたことあるねそれ！ よくわからんまま適当にやってみよう。マニュアルのstd.randomのページに「Cのrandよりランダム性高いよ！」と書いてあったので、Cのrandとphobosのrandを切り替えられるようにしてみた。 % repeat 5 (./pi 50000000 c) testNum=50000000, mode=c, pi=3.1419588…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogelog.hatenablog.com%2Fentry%2F20070924%2Fp1&quot; title=&quot; モンテカルロ法で円周率を求める - hogelogの日記&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>2007-09-24 00:00:00</published>
  <title> モンテカルロ法で円周率を求める</title>
  <type>rich</type>
  <url>https://hogelog.hatenablog.com/entry/20070924/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
