Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem handling big numbers

Status
Not open for further replies.

vibhava

Programmer
Apr 20, 2008
19
US
hi,
i have a problem exactly similar to "eikenhorst" (latest post on this forum). but i am not an expert in FORTRAN programming so i was not able to understand the suggestion properly.In my problem i need to define 3 parameter values so that i can use them later in my program. these values are:

varusgs1000=1329527587452.58,
varusgs1500=5001915133601.94,
varusgs2500=7150034662652.63

when i am running the program it is messing with the last few digits of the values (after reading problem of eikenhorst i realize that 4 byte machine are not able to handle such long numbers). but i was not able to understand how i can apply the suggetion in my case.i am working with Fortran 90 compiler.

Thanks

vibhava
 
I was finally ablr to understand how to do it.
Thanks for your help guys!!

vibhava
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top