Hello folks:
Correct if I am making wrong assumption. As far as I know, c and c++ are
portable and well they seem to be portable in my case but giving me different
results in Linux and SunOS.
I am running my program on two different platform, Linux slackware 3.0, version
1.3.18 using gcc 2.7.1 and sunos 4.1, gcc 2.6 (?). For the exact same input, I
am getting entirely different results. My programs involve some mathematical
calulations using real numbers. The exact same program compiles/runs fine
without any problem but produces different results. At this point I have not
spend time to figure out which of the two results are better and don't know
why.
Is there a difference in precision in linux and SUNOS? I am confused and don't
know where exactly to look for the problem. Any pointers? I cannot attribute
the difference in results on different versions of gcc.
I will appreciate any response, preferrable by email as I cannot read this
---------------------------------------------------------------------------
___ Imran Ahmad ___
( . . ) Dept. of Computer Science ( . . )
_\ ` /_ Wayne State University _\ ` /_
(_ . _) Detroit, MI 48202 (_ . _)
/ ___ \ Phone (off): (313)577-6771 / ___ \
----- Home page: http://www.cs.wayne.edu/~ima -----