| Sun Studio
Fortran 95 Interval Arithmetic Code Examples |
| Fortran 95 Samples |
| Name |
Description |
| ce1-01.f95 |
Hello
Interval World |
| ce1-02.f95 |
Hello
Interval World With INTERVAL Variables |
| ce1-03.f95 |
Interval
Input/Output |
| ce1-04.f95 |
[inf,
sup] Interval Output |
| ce1-05.f95 |
Single-Number
Output (Note: ce1-05.f95 is the same as ce1-04.f95, but you select
option 1 for single-number output
instead of option 0 for [inf, sup] output) |
| ce1-06.f95 |
Character
Input With Internal Data Conversion |
| ce1-07.f95 |
Mixed
Precision With Widest-Need |
| ce1-08.f95 |
Mixed
Types With Widest-Need |
| ce1-09.f95 |
Simple
INTERVAL Expression Example |
| ce1-10.f95 |
Set-Equality
Test |
| ce1-11.f95 |
Interval
Relational Operators |
| ce1-12.f95 |
Set
Operators |
| ce1-13.f95 |
Intrinsic
INTERVAL-Specific Functions |
| ce1-14.f95 |
Interval
Versions of Standard Intrinsic Functions |
| ce1-15.f95 |
INTERVAL
Type Mismatch |
| ce1-16.f95 |
Invalid
Endpoints |
| ce1-17.f95 |
Equivalence
of Intervals and Non-Intervals |
| ce1-18.f95 |
Equivalence
of INTERVAL Objects With Different KTPVs |
| ce1-19.f95 |
Assigning
a REAL Expression to an INTERVAL Variable in Strict Mode |
| ce1-20.f95 |
Assigning
an INTERVAL Expression to INTERVAL Variable in Strict Mode |
| ce1-21.f95 |
INTEGER
Overflow Containment Violation Under -xia=strict Mode |
| ce2-01.f95 |
KTPV of
INTERVAL Constants |
| ce2-02.f95 |
Valid and
Invalid INTERVAL Constants |
| ce2-03.f95 |
KTPVmax
Depends on KIND (Left-Hand Side) |
| ce2-04.f95 |
Mixed-Mode
Assignment Statement |
| ce2-05.f95 |
Mixed-Mode
Expression |
| ce2-06.f95 |
Constant
Expressions |
| ce2-07.f95 |
Relational
Operators |
| ce2-08.f95 |
Interval
.IH. Operator Extension |
| ce2-09.f95 |
User-Defined
Interface That Conflicts With the Use of the Intrinsic INTERVAL (+)
Operator |
| ce2-10.f95 |
User-Defined
Interface Conflicts With Intrinsic Use of .IH. |
| ce2-11.f95 |
Incorrect
Change in the Number of Arguments in a Predefined INTERVAL Operator |
| ce2-12.f95 |
User-Defined
Interface That Conflicts With the Intrinsic Use of Unary "+" |
| ce2-13.f95 |
Correct
Extension of Intrinsic INTERVAL Function WID |
| ce2-14.f95 |
Correct
Extension of the Intrinsic INTERVAL Function ABS |
| ce2-15.f95 |
Correct
Extension of the Intrinsic INTERVAL Function MIN |
| ce2-16.f95 |
Widest-Need
Expression Processing When Calling a Predefined Version of an Intrinsic
INTERVAL Operator |
| ce2-17.f95 |
Widest-Need
Expression Processing When Invoking a User-Defined Operator |
| ce2-18.f95 |
Containment
Using the .IH. Operator |
| ce2-19.f95 |
INTERVAL
Conversion |
| ce2-20.f95 |
Create a
Narrow Interval Containing a Given Real Number |
| ce2-21.f95 |
INTERVAL(NaN) |
| ce2-22.f95 |
Illegal
Derived Type: INTERVAL |
| ce2-23.f95 |
Declaring
Intervals With Different KTPVs |
| ce2-24.f95 |
Declaring
and Initializing INTERVAL Variables |
| ce2-25.f95 |
Declaring
INTERVAL Arrays |
| ce2-26.f95 |
DATA
Statement Containing INTERVAL Variables |
| ce2-27.f95 |
Nonrepeatable
Edit Descriptor Example |
| ce2-28.f95 |
Format
Statements With INTERVAL-Specific Edit Descriptors |
| ce2-29.f95 |
Default
Interval Function |
| ce2-30.f95 |
Explicit
INTERVAL(16) Function Declaration |
| ce2-31.f95 |
Intrinsic
Function Declaration |
| ce2-32.f95 |
INTERVALS
in a NAMELIST |
| ce2-33.f95 |
Constant
Expression in Non-INTERVAL PARAMETER Attribute |
| ce2-34.f95 |
INTERVAL
Pointers |
| ce2-35.f95 |
INTERVAL
Statement Function |
| ce2-36.f95 |
INTERVAL
Type Statement |
| ce2-37.f95 |
List
Directed Input/Output Code |
| ce2-38.f95 |
The
Decimal Point in an Input Value Dominates Format Specifiers |
| ce2-39.f95 |
All of
the INTERVAL Edit Descriptors Can Accept Single-Number Input |
| ce2-40.f95 |
BZ
Descriptor |
| ce2-41.f95 |
Y [inf,
sup]-Style Output |
| ce2-42.f95 |
Yw.d
Output |
| ce2-43.f95 |
Yw.d
Output Using the NDIGITS Intrinsic |
| ce2-44.f95 |
{Y, F, E,
EN,ES,G}w.d Output, Where d Sets the Minimum Number of Significant
Digits to
be Displayed |
| ce2-45.f95 |
Yw.dEe
Output (The Usage of e Specifier) |
| ce2-46.f95 |
Ew.dEe,
ENw.dEe, and ESw.dEe Edit Descriptors |
| ce2-47.f95 |
Fw.d
Edit Descriptor |
| ce2-48.f95 |
Gw.dEe
Edit Descriptor |
| ce2-49.f95 |
VE
Output |
| ce2-50.f95 |
VEN Output |
| ce2-51.f95 |
VES
Output |
| ce2-52.f95 |
VF Output
Editing |
| ce2-53.f95 |
VG
Output |
| ce2-54.f95 |
ATAN2
Indeterminate Forms |