<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymtsh</author_name>
  <author_url>https://blog.hatena.ne.jp/ymtsh/</author_url>
  <blog_title>眇眇泛泛</blog_title>
  <blog_url>https://ymtsh.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>2025/10/18日での、MSVC STL cmathのpowの話。 2乗（整数指数時）のpow関数はx*xを返すようになった（戻した）らしい。 詳しくはここを参考。 簡単にはstd::powが呼び出していたUCRTのpowのせいらしい。 It turns out that the UCRT mishandles squaring in a small fraction of cases, returning answers that are off by 1 ULP (unit in the last place). 下記はMSVC STLの実装。 // https://github.co…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymtsh.hatenablog.com%2Fentry%2F2025%2F10%2F18%2F030516&quot; title=&quot;MSVCのstd::powの挙動がちょっと気持ち悪くなっている話 - 眇眇泛泛&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/ymtsh/20251018/20251018032401.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-10-18 03:05:16</published>
  <title>MSVCのstd::powの挙動がちょっと気持ち悪くなっている話</title>
  <type>rich</type>
  <url>https://ymtsh.hatenablog.com/entry/2025/10/18/030516</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
