<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C++</anon>
  </categories>
  <description>前回のは[-π/2,π/2]で成り立っていたが、 実数全域でも成り立つようにしよう。 素直に書くと、 double sin2(double x) { int i = (int)(x * (1 / M_PI) + 0.5); if(x i--; if(i &amp; 1) x = i * M_PI - x; else x = x - i * M_PI; double x2 = x * x; return x * ((((1.0 / 362880 * x2 - 1.0 / 5040) * x2 + 1.0 / 120) * x2 - 1.0 / 6) * x2 + 1); }これで48ns→31ns。 こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20080117%2Fp1&quot; title=&quot;関数の速度（11） - inamori’s diary&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>2008-01-17 00:00:00</published>
  <title>関数の速度（11）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20080117/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
