- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
maybe a stupid question but what is the largest real number that i can use in fortran, working on a 32-bit operating system?
maybe a stupid question but what is the largest real number that i can use in fortran, working on a 32-bit operating system?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - andibrains
hi,
maybe a stupid question but what is the largest real number that i can use in fortran, working on a 32-bit operating system?
maybe a stupid question but what is the largest real number that i can use in fortran, working on a 32-bit operating system?
Stupid no, but a bit lazy yes:
WRITE(*,*) HUGE(0.)
WRITE(*,*) HUGE(0.D0)
http://www.helsinki.fi/atk/unix/dec_manuals/df90au52/dfum034.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And while you're at it
WRITE(*,*) TINY(0.)
WRITE(*,*) TINY(0.D0)
Jim Dempsey

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page