T
tech guru
Hi,
I am doing some mathematical analysis on large numbers in C. The same
code runs perfectly in Windows but produces unpredictable results in
Unix (like negative numbers or very very big numbers).
I am using 'long' data type which is sufficient to hold the largest
data in the program. I checked the 'sizeof(long)' in both the OS which
is same (=4).
I need to integrate this program with other modules and run from Unix.
So I can not continue to run it from Windows.
Please let me know if you have any clue on the possible problem.
Thanks,
Saumi
I am doing some mathematical analysis on large numbers in C. The same
code runs perfectly in Windows but produces unpredictable results in
Unix (like negative numbers or very very big numbers).
I am using 'long' data type which is sufficient to hold the largest
data in the program. I checked the 'sizeof(long)' in both the OS which
is same (=4).
I need to integrate this program with other modules and run from Unix.
So I can not continue to run it from Windows.
Please let me know if you have any clue on the possible problem.
Thanks,
Saumi