Quantcast
Channel: C++博客-所有随笔
Viewing all articles
Browse latest Browse all 7881

汇编调用 C 语言 printf %f 输出浮点数 float 的问题:4字节 还是 8字节

$
0
0
     摘要: 结论: C 语言的 printf 使用 %f 来输出 float 时,实际上先把 4字节的float转化为 8字节的double,然后访问了栈上的 8字节数据。
(环境:Ubuntu12.04 32位 intel i3 nasm gcc)  阅读全文

coreBugZJ 2013-04-29 16:51 发表评论

Viewing all articles
Browse latest Browse all 7881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>