- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quick question:
What is the largest floating point range I can achieve with the ifort v9.1 compiler including any compiler tricks, switches etc?
Thanks in advance,
Tim Stitt
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want it as quick as possible, consult the documents, and avoid tricks which depend on your (not divulged) platform. How about this page in the docs?
REAL(KIND=16) Representation
REAL(16) (same as REAL(KIND=16)) data occupies 16 contiguous bytes stored in IEEE-style X_floating format.
......
The value of data is in the approximate range: 6.4751751194380251109244389582276465524996Q-4966 to 1.189731495357231765085759326628007016196477Q4932
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't that the 10 byte range of FPU x87? Wouldn't the software simulation package provide the full 16 byte range? mantissa ~113 digits, exponent -16381 to 16384?
In section titled Model for Real Data it seemed to imply IEEE X_floating was supported rather than 10 bytes usedout of 16 bytes reserved. In looking at the command line options it is not clear how or if you can select between the 10/16 (FPU Tbyte) or 16/16 (full simulation) format.
Could someone comment on this?
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Fortran has no support for "10 byte floating". None. The documented range Tim quotes is for IEEE-style quad precision with a 15-bit exponent and 113-bit mantissa.
Intel C++ "long long float" is the x87 10-byte float. It is not interoperable with Intel Fortran's REAL(16).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a bit surprising that there is no KIND=10 for compatibility with the C long double.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page