<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>C2y</anon>
  </categories>
  <description>プログラミング言語Cの次期仕様C2yでは、16進数表記で用いられるアルファベット文字範囲'a'～'f'および'A'～'F'について文字コードの連続性保証が明文化される。この文字コード範囲での連続性保証は、ラテンアルファベット26文字 A～Z / a～z が連続配置されるASCII互換文字コードやUnicodeだけでなく、EBCDIC文字コードにおいても成立する*1。 int ch = /*...*/; assert(isxdigit(ch)); // chは任意の16進文字 int n; if ('0' &lt;= ch &amp;&amp; ch &lt;= '9') { n = ch - '0'; // 0...9 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20241022%2Fp1&quot; title=&quot;16進文字から数値への変換: ch - &amp;#39;a&amp;#39; + 10 - yohhoyの日記&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>2024-10-22 00:00:00</published>
  <title>16進文字から数値への変換: ch - 'a' + 10</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20241022/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
