The Real Class is used to describe a real scalar or array in the CÆSAR Code Package. The Real Class does not use a user-defined type - it is the class for the F90 intrinsic type ``real''.
Real public procedures:
Fundamental procedures | |||
Initialize | Initializes a real scalar or array variable. | ||
Finalize | Finalizes a real scalar or array variable. | ||
Valid_State | Returns false iff a real scalar or array variable is in an invalid state. | ||
Operations | |||
MaxVal | Extends the F90 intrinsic procedure MaxVal to scalar arguments. | ||
MinVal | Extends the F90 intrinsic procedure MinVal to scalar arguments. | ||
SUM | Extends the F90 intrinsic procedure SUM to scalar arguments. | ||
VeryClose | Returns true if input values are almost equal. |
The Real Class code listing contains additional documentation. The Real Class also contains a Unit Test Program.