<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lpha_z</author_name>
  <author_url>https://blog.hatena.ne.jp/lpha_z/</author_url>
  <blog_title>よーる</blog_title>
  <blog_url>https://lpha-z.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>先週は平方根関数をライブラリとして実装する方法をひとつ紹介しました。その方法は、デフォルトの丸めモード（最近接丸め）では正しく動作しますが、方向丸めの場合にはうまくいかないことが判明しました。 その中で、逆数平方根をニュートン・ラフソン法で求める、invSqrt関数を実装しました。その実装は、丸め誤差に気を使っていない、ナイーブな実装になっています。それが原因で方向丸めの場合にうまくいかないのかを確かめるため、この関数の性質について調べます。 invSqrt関数の定義 以下で他の実装についても議論するので、invSqrt0とします。 float apploxInvSqrt( float x )…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flpha-z.hatenablog.com%2Fentry%2F2018%2F10%2F21%2F231500&quot; title=&quot;invSqrtをニュートン・ラフソン法で求める方法の性質 - よーる&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>2018-10-21 23:15:00</published>
  <title>invSqrtをニュートン・ラフソン法で求める方法の性質</title>
  <type>rich</type>
  <url>https://lpha-z.hatenablog.com/entry/2018/10/21/231500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
