boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] 谢谢大家!One More Question! Re: C 程序计算结果
相关主题
[转载] C 程序计算结果 在 Unix / Linux 下不同
Re: how to use a variable to represent interger which is bigger than 3
[转载] how can i use c or c++ to get the Ethernet card address
是Solaris问题,也是Cadence问题
Linux with Linksys 10/100 PC card
UNIX vs LINUX? why?
How to view chinese character in Linux or Unix
英文Linux下有没有什么好的中文输入软件?
Does Linux support thread?
[转载] Any PC 2 Phone tools for Linux?
相关话题的讨论汇总
话题: question话题: more话题: 计算结果话题: 程序话题: bits
进入Unix版参与讨论
1 (共1页)
l*****g
发帖数: 3084
1
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: laoying (大老虎), 信区: Programming
标 题: 谢谢大家!One More Question! Re: C 程序计算结果
发信站: Unknown Space - 未名空间 (Mon May 16 16:01:19 2005) WWW-POST
仔细检查过了,认为是32/64bits 不同导致的。
SUN system is 64 bits, and Linux is 32 bits.
在复杂的计算结果中,当两个数比较接近时,在两个平台的比较上就会不同。
这个有办法修正了吗?
另外,在SUN上进行编译的时候,能通过设置flag 让程序编译成32 bits的吗?
我想和Linux结果比较一下
谢谢!
1 (共1页)
进入Unix版参与讨论
相关主题
[转载] Any PC 2 Phone tools for Linux?
[转载] why it is so slow in linux?
[转载] 谁读过Richard Stevens的UNIX高级编程
[转载] 3D FDTD 程序包?
tcsh question II
[转载] Question for Linux expert.
[转载] 大侠救命!
Re: 如何forward email?
how to limit telnet IP?
[转载] How to view the source code of Linux?
相关话题的讨论汇总
话题: question话题: more话题: 计算结果话题: 程序话题: bits