<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takehikom</author_name>
  <author_url>https://blog.hatena.ne.jp/takehikom/</author_url>
  <blog_title>わさっきhb</blog_title>
  <blog_url>https://takehikom.hateblo.jp/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>math</anon>
  </categories>
  <description>いきなりですが問題です． wikipedia:-0を見て，Cで次のように書いたのですが，どうもマイナス0になってくれていないのです． /* minus0_test.c */ #include &lt;stdio.h&gt; int main(void) { double x = -0; printf(&quot;%g\n&quot;, x); return 0; } 出力は「0」なのです．「-0」のところを，「(double)-0」にしても，「(double)(-0)」にしても，ダメでした． Cでは，マイナス0を表現できないのでしょうか? さっそくですが解答です．CygwinやUbuntuのGCCであれば，マイナス0にも対応…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20151114%2F1447446172&quot; title=&quot; マイナス0を作る，使う - わさっきhb&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>2015-11-14 05:22:52</published>
  <title> マイナス0を作る，使う</title>
  <type>rich</type>
  <url>https://takehikom.hateblo.jp/entry/20151114/1447446172</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
