Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development Tools (Compilers, Debuggers, Profilers & Analyzers)
- Intel® Fortran Compiler
- What does Remark 8291 mean?

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

Highlighted
##

Thomas_S_1

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-26-2016
09:36 AM

308 Views

What does Remark 8291 mean?

Here is the remark:

remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'

I have used that FORTRAN statement for Years with VAX compilers and all the way through the last Compaq FORTRAN compiler.

I have Intel FORTRAN 2016 update 3 Parallel Studio running within Visual Studio 2013 Shell

2 Replies

Highlighted
##

mecej4

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-26-2016
10:01 AM

308 Views

On older mainframes, floating point range was often narrower than with today's 64-bit IEEE double precision, and two digits (and a sign) were enough for the exponent. Now, however, you may need five characters for the exponent field (three digits, sign, 'E'), one for the decimal point, one for the sign of the mantissa. That gives us the w >= d+7 rule. You may need one more character for the leading digit of the mantissa, commonly if you specified 1P in your format or specified one of the ES or EE formats.

The remark is just that -- a remark. You can ignore it, or tell the compiler to keep remarks to itself. I find the remark useful when resurrecting old code and fixing it up so that the output results will not be just asterisks.

Highlighted
##

Steven_L_Intel1

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-26-2016
10:55 AM

308 Views

This really has nothing to do with floating point range. Rather, it relates to the minimum number of characters above the fraction digits to avoid errors when using E or D format. For example, if you say E10.6, that doesn't leave enough characters for the sign, decimal point, leading digit, exponent letter, exponent sign and exponent digits.

What was the format it complained about? As Tim says, you can ignore this message if you want.

For more complete information about compiler optimizations, see our Optimization Notice.