This section describes several programming guidelines that can help you improve the performance of floating-point applications:
- Avoid exceeding representable ranges during computation; handling these cases can have a performance impact.
- Use REAL variables in single precision format unless the extra precision obtained through
DOUBLE or
REAL*8 is required because a larger precision formation will also increase memory size and bandwidth requirements. See
Using Efficient Data Types section.
- Reduce the impact of denormal exceptions for all supported architectures.
- Avoid mixed data type arithmetic expressions.